summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorRicard Wanderlof <ricard.wanderlof@axis.com>2017-09-07 15:31:38 +0200
committerBen Hutchings <ben@decadent.org.uk>2018-01-01 20:51:29 +0000
commitcf1529ed37a15b432ba6ec428b70d02b58c5c2f7 (patch)
tree9443285472aee820b4b9a17b80be9f269cef0654 /include/uapi
parente7d02919dd82afdc368ab25140ae11a2f3af6a29 (diff)
ASoC: adau17x1: Workaround for noise bug in ADC
commit 1e6f4fc06f6411adf98bbbe7fcd79442cd2b2a75 upstream. The ADC in the ADAU1361 (and possibly other Analog Devices codecs) exhibits a cyclic variation in the noise floor (in our test setup between -87 and -93 dB), a new value being attained within this range whenever a new capture stream is started. The cycle repeats after about 10 or 11 restarts. The workaround recommended by the manufacturer is to toggle the ADOSR bit in the Converter Control 0 register each time a new capture stream is started. I have verified that the patch fixes this problem on the ADAU1361, and according to the manufacturer toggling the bit in question in this manner will at least have no detrimental effect on other chips served by this driver. Signed-off-by: Ricard Wanderlof <ricardw@axis.com> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions