21 Jul
2008
21 Jul
'08
5:35 p.m.
These signatures need to change a lot:
/* codec register bit access */ int snd_soc_update_bits(struct snd_soc_codec *codec, unsigned short reg, unsigned short mask, unsigned short value); int snd_soc_test_bits(struct snd_soc_codec *codec, unsigned short reg, unsigned short mask, unsigned short value);
Something like: int snd_soc_update_bits(struct snd_soc_codec *codec, uint reg, uint mask, uint shift, u64 value);
shift is needed to shift the mask around for huge registers like 256 bits. For existing hardware it will always be zero. value has to go to u64.
--
Jon Smirl
jonsmirl@gmail.com