[alsa-devel] CS4279 and hw_read_t/hw_write_t
timur at freescale.com
Mon Jul 21 17:07:45 CEST 2008
Jon Smirl wrote:
> From soc/codecs/cs4270.c...
> * Note that we don't use the hw_write function pointer of snd_soc_codec.
> * That's because it's too clunky: the hw_write_t prototype does not match
> * i2c_smbus_write_byte_data(), and it's just another layer of overhead.
> The prototype doesn't match because you are using
> i2c_smbus_write_byte_data() instead of
Should I be using i2c_master_send() instead? I remember reading somewhere that
I should be using the i2c smbus functions if possible.
Linux kernel developer at Freescale
More information about the Alsa-devel