summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/io_read.c
diff options
context:
space:
mode:
authorChao Song <chao.song@linux.intel.com>2023-11-27 20:47:35 +0800
committerVinod Koul <vkoul@kernel.org>2023-11-28 15:27:27 +0530
commit393cae5f32d640b9798903702018a48c7a45e59f (patch)
tree75aecd09e8369ca6a6cd8b270708a1c1cf4900c8 /fs/bcachefs/io_read.c
parente199bf52ffda8f98f129728d57244a9cd9ad5623 (diff)
downloadlinux-stable-393cae5f32d640b9798903702018a48c7a45e59f.tar.gz
linux-stable-393cae5f32d640b9798903702018a48c7a45e59f.tar.bz2
linux-stable-393cae5f32d640b9798903702018a48c7a45e59f.zip
soundwire: intel_ace2x: fix AC timing setting for ACE2.x
Start from ACE1.x, DOAISE is added to AC timing control register bit 5, it combines with DOAIS to get effective timing, and has the default value 1. The current code fills DOAIS, DACTQE and DODS bits to a variable initialized to zero, and updates the variable to AC timing control register. With this operation, We change DOAISE to 0, and force a much more aggressive timing. The timing is even unable to form a working waveform on SDA pin. This patch uses read-modify-write operation for the AC timing control register access, thus makes sure those bits not supposed and intended to change are not touched. Signed-off-by: Chao Song <chao.song@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20231127124735.2080562-1-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'fs/bcachefs/io_read.c')
0 files changed, 0 insertions, 0 deletions