diff options
author | Curtis Malainey | 2019-05-03 21:32:14 +0200 |
---|---|---|
committer | Mark Brown | 2019-05-06 16:43:42 +0200 |
commit | a46eb523220e242affb9a6bc9bb8efc05f4f7459 (patch) | |
tree | 0c90660a90ee5f582065cd3eced656cccc13e934 /sound/soc/codecs/max98090.c | |
parent | ASoC: sprd: Add reserved DMA memory support (diff) | |
download | kernel-qcow2-linux-a46eb523220e242affb9a6bc9bb8efc05f4f7459.tar.gz kernel-qcow2-linux-a46eb523220e242affb9a6bc9bb8efc05f4f7459.tar.xz kernel-qcow2-linux-a46eb523220e242affb9a6bc9bb8efc05f4f7459.zip |
ASoC: RT5677-SPI: Disable 16Bit SPI Transfers
The current algorithm allows 3 types of transfers, 16bit, 32bit and
burst. According to Realtek, 16bit transfers have a special restriction
in that it is restricted to the memory region of
0x18020000 ~ 0x18021000. This region is the memory location of the I2C
registers. The current algorithm does not uphold this restriction and
therefore fails to complete writes.
Since this has been broken for some time it likely no one is using it.
Better to simply disable the 16 bit writes. This will allow users to
properly load firmware over SPI without data corruption.
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Reviewed-by: Ben Zhang <benzh@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/soc/codecs/max98090.c')
0 files changed, 0 insertions, 0 deletions