ASoC: tas2764: Correct playback volume range
stable inclusion from stable-v5.10.132 commit f1cd988de463cd464c6844aa6f24ee79e085f1fd category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5YS3T Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f1cd988de463cd464c6844aa6f24ee79e085f1fd -------------------------------- [ Upstream commit 3e99e569 ] DVC value 0xc8 is -100dB and 0xc9 is mute; this needs to map to -100.5dB as far as the dB scale is concerned. Fix that and enable the mute flag, so alsamixer correctly shows the control as <0 dB .. -100 dB, mute>. Signed-off-by:Hector Martin <marcan@marcan.st> Fixes: 827ed8a0 ("ASoC: tas2764: Add the driver for the TAS2764") Signed-off-by:
Martin Povišer <povik+lin@cutebit.org> Link: https://lore.kernel.org/r/20220630075135.2221-3-povik+lin@cutebit.org Signed-off-by:
Mark Brown <broonie@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com>
Loading
Please sign in to comment