mtd: rawnand: marvell: don't set the NAND frequency select
stable inclusion from stable-v5.10.183 commit 9823ac6e7ae19f08e6d2c73bbc3b2d956e823823 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=9823ac6e7ae19f08e6d2c73bbc3b2d956e823823 -------------------------------- [ Upstream commit c4d28e30 ] marvell_nfc_setup_interface() uses the frequency retrieved from the clock associated with the nand interface to determine the timings that will be used. By changing the NAND frequency select without reflecting this in the clock configuration this means that the timings calculated don't correctly meet the requirements of the NAND chip. This hasn't been an issue up to now because of a different bug that was stopping the timings being updated after they were initially set. Fixes: b2525141 ("mtd: rawnand: marvell: Stop implementing ->select_chip()") Signed-off-by:Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230525003154.2303012-2-chris.packham@alliedtelesis.co.nz Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment