aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorJean-François Têtu <[email protected]>2017-09-29 16:19:44 -0400
committerMark Brown <[email protected]>2017-10-04 11:42:55 +0100
commit664611e7e02f76fbc5470ef545b2657ed25c292b (patch)
tree38f6beb0ada3525ffd8809e82f8fc3f162d3e336 /lib/test_overflow.c
parentf53ee247ad546183fc13739adafc5579b9f0ebc0 (diff)
ASoC: codecs: msm8916-wcd-analog: fix micbias level
The macro used to set the microphone bias level causes the snd_soc_write() call to overwrite other fields in the CDC_A_MICB_1_VAL register. The macro also does not return the proper level value to use. This fixes this by preserving all bits from the register that are not the level while setting the level. Signed-off-by: Jean-François Têtu <[email protected]> Acked-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions