Commit 81fb64b6 authored by Chris Packham's avatar Chris Packham Committed by sanglipeng
Browse files

mtd: rawnand: marvell: ensure timing values are written

stable inclusion
from stable-v5.10.183
commit e4666d793a2203ecefbe3860842aaf7b740a6a55
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8IRR2

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e4666d793a2203ecefbe3860842aaf7b740a6a55



--------------------------------

[ Upstream commit 8a6f4d34 ]

When new timing values are calculated in marvell_nfc_setup_interface()
ensure that they will be applied in marvell_nfc_select_target() by
clearing the selected_chip pointer.

Fixes: b2525141 ("mtd: rawnand: marvell: Stop implementing ->select_chip()")
Suggested-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230525003154.2303012-1-chris.packham@alliedtelesis.co.nz


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 939440a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment