linux-stable/drivers/memory
Cong Dang 856564fdfa memory: renesas-rpc-if: Clear HS bit during hardware initialization
[ Upstream commit 5192481f90 ]

According to the datasheet, HS bit should be specified to 1 when using
DMA transfer. As DMA transfer is not supported, it should be cleared to
0.

Previously, the driver relied on the HS bit being cleared by prior
firmware but this is not always the case.

Fix this by ensuring the bit is cleared during hardware initialization.

Fixes: ca7d8b980b ("memory: add Renesas RPC-IF driver")
Signed-off-by: Cong Dang <cong.dang.xn@renesas.com>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/08d9fb10b3051decebf871267a6e2e7cb2d4faf9.1665583089.git.geert+renesas@glider.be
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:25:36 +01:00
..
samsung memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings 2022-06-06 11:18:20 +02:00
tegra OPP updates for 5.20-rc1 2022-08-03 17:49:38 +02:00
.gitignore
atmel-ebi.c
atmel-sdramc.c
brcmstb_dpfe.c
bt1-l2-ctl.c
da8xx-ddrctl.c
dfl-emif.c
emif-asm-offsets.c
emif.c More power management updates for 5.19-rc1 2022-05-30 11:37:26 -07:00
emif.h
fsl-corenet-cf.c
fsl_ifc.c
jedec_ddr.h
jedec_ddr_data.c
jz4780-nemc.c
Kconfig memory: omap-gpmc: OMAP_GPMC should depend on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 2022-06-06 11:10:53 +02:00
Makefile
mtk-smi.c Memory controller drivers for v5.20 2022-07-01 22:56:39 +02:00
mvebu-devbus.c
of_memory.c memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings() 2022-10-21 12:38:31 +02:00
of_memory.h
omap-gpmc.c
pl172.c
pl353-smc.c memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe() 2022-10-21 12:38:31 +02:00
renesas-rpc-if.c memory: renesas-rpc-if: Clear HS bit during hardware initialization 2022-12-31 13:25:36 +01:00
stm32-fmc2-ebi.c
ti-aemif.c
ti-emif-pm.c
ti-emif-sram-pm.S treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00