android_kernel_oneplus_msm8998/sound/soc
Curtis Malainey 80cc516ed7 ASoC: RT5677-SPI: Disable 16Bit SPI Transfers
commit a46eb523220e242affb9a6bc9bb8efc05f4f7459 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-11 12:23:36 +02:00
..
adi
atmel ASoC: atmel-classd: fix audio clock rate 2017-04-08 09:53:31 +02:00
au1x ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read() 2018-05-30 07:48:52 +02:00
bcm
blackfin
cirrus ASoC: cirrus: i2s: Fix {TX|RX}LinCtrlData setup 2018-07-03 11:21:27 +02:00
codecs ASoC: RT5677-SPI: Disable 16Bit SPI Transfers 2019-06-11 12:23:36 +02:00
davinci
dwc
fsl ASoC: fsl_esai: fix channel swap issue when stream starts 2019-04-27 09:33:55 +02:00
generic ASoC: simple-card: Fix misleading error message 2018-02-16 20:09:36 +01:00
intel ASoC: Intel: avoid Oops if DMA setup fails 2019-05-16 19:45:05 +02:00
jz4740
kirkwood
mediatek ASoC: mediatek: add i2c dependency 2018-02-25 11:03:48 +01:00
mxs
nuc900 ASoC: nuc900: Fix a loop timeout test 2018-03-22 09:23:29 +01:00
omap ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE 2018-12-17 21:55:10 +01:00
pxa ASoC: pxa: Fix module autoload for platform drivers 2018-08-06 16:24:40 +02:00
qcom
rockchip ASoC: rockchip: use __maybe_unused to hide st_irq_syscfg_resume 2018-02-25 11:03:49 +01:00
samsung ASoC: samsung: i2s: Ensure the RCLK rate is properly determined 2018-05-30 07:49:17 +02:00
sh ASoC: rsnd: SSI PIO adjust to 24bit mode 2018-04-13 19:50:11 +02:00
sirf ASoC: sirf: Fix potential NULL pointer dereference 2018-09-05 09:18:39 +02:00
spear ASoC: spear: fix error return code in spdif_in_probe() 2018-11-10 07:41:40 -08:00
sti
sunxi ASoC: sun4i-codec: return error code instead of NULL when create_card fails 2016-11-18 10:48:37 +01:00
tegra
txx9
ux500 ASoC: ux500: add MODULE_LICENSE tag 2018-02-25 11:03:37 +01:00
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-cache.c
soc-compress.c ASoC: compress: Derive substream from stream based on direction 2017-07-27 15:06:04 -07:00
soc-core.c ASoC: dapm: Recalculate audio map forcely when card instantiated 2018-12-17 21:55:10 +01:00
soc-dapm.c ASoC: dapm: change snprintf to scnprintf for possible overflow 2019-03-23 08:44:19 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c
soc-ops.c
soc-pcm.c ASoC:soc-pcm:fix a codec fixup issue in TDM case 2019-05-16 19:45:03 +02:00
soc-topology.c ASoC: topology: free created components in tplg load error 2019-03-23 08:44:33 +01:00
soc-utils.c