]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Stop AIC23 driver from Oopsing.
authorAndrzej Zaborowski <balrog@zabor.org>
Fri, 4 Apr 2008 00:56:34 +0000 (02:56 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 4 Apr 2008 09:32:11 +0000 (12:32 +0300)
commitffb76d4a7b005dcbeeb450f725a764aca994c830
tree7d97ac681fbc4bea6af0d28bed181d594d547cd8
parent8a88c221c88399bc694c367dbea01ffc4153ef20
Stop AIC23 driver from Oopsing.

Prevent AIC23 driver Oopsing when no AIC23 is present by moving some of the
initialisation to after the chip is found.  There seems to be more that
should be fixed in this driver but with this change it can at least be
compiled into a kernel safely.

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/tlv320aic23.c