* * 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(). -- Jon Smirl jonsmirl at gmail.com