]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ASoC: Fix compile-time warning for tlv320aic23.c
authorArun KS <arunks@mistralsolutions.com>
Mon, 13 Oct 2008 10:17:25 +0000 (15:47 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Oct 2008 12:52:50 +0000 (14:52 +0200)
commitdc5597bf24abace59c40726301cc5d3b47984828
treeaeb208e6171227fd39f733e97f82d03fd292413a
parentc5645b8ac79604207fe96ac6992d3f92df960f07
ALSA: ASoC: Fix compile-time warning for tlv320aic23.c

Fixes this warning:

sound/soc/codecs/tlv320aic23.c: In function 'tlv320aic23_write':
sound/soc/codecs/tlv320aic23.c:104: warning: passing argument 2 of
'codec->hw_write' makes pointer from integer without a cast

Replaces i2c smbus write function with standard i2c write function

Signed-off-by: Arun KS <arunks@mistralsolutions.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/tlv320aic23.c