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)
commit4aa02396f934b355a4002ea9bc524aa42d6b53d6
treeaeb208e6171227fd39f733e97f82d03fd292413a
parenta7e54e6de3b01d9085202fdbf0110da425f4af38
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