Re: CS4279 and hw_read_t/hw_write_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> i2c_master_send()/i2c_master_recv().

Should I be using i2c_master_send() instead?  I remember reading somewhere that
I should be using the i2c smbus functions if possible.

-- 
Timur Tabi
Linux kernel developer at Freescale
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux