3 Jul
2012
3 Jul
'12
7:03 p.m.
On Tue, Jul 03, 2012 at 05:24:58PM +0530, Rajeev Kumar wrote:
- /* set FFX audio frequency range */
- val = (((val & 0x83) | (play_freq_val << 4)) | (record_freq_val << 2));
- snd_soc_update_bits(codec, STA529_MISC, FREQ_RANGE_MSK, val);
This is more buggy than last time, it's still setting both playback and record configuration but instead of using update_bits() like write() it's now using val uninitialised. As I said last time it looks like you want to move this into the playback/capture if statement immediately above.