This is a note to let you know that I've just added the patch titled mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6 to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: mtd-rawnand-gpmi-remove-explicit-default-gpmi-clock-setting-for-i.mx6.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From aa1baa0e6c1aa4872e481dce4fc7fd6f3dd8496b Mon Sep 17 00:00:00 2001 From: Stefan Riedmueller <s.riedmueller@xxxxxxxxx> Date: Tue, 2 Nov 2021 21:20:21 +0100 Subject: mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6 From: Stefan Riedmueller <s.riedmueller@xxxxxxxxx> commit aa1baa0e6c1aa4872e481dce4fc7fd6f3dd8496b upstream. There is no need to explicitly set the default gpmi clock rate during boot for the i.MX 6 since this is done during nand_detect anyway. Signed-off-by: Stefan Riedmueller <s.riedmueller@xxxxxxxxx> Cc: stable@xxxxxxxxxxxxxxx Acked-by: Han Xu <han.xu@xxxxxxx> Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> Link: https://lore.kernel.org/linux-mtd/20211102202022.15551-1-ceggers@xxxxxxx Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 9 --------- 1 file changed, 9 deletions(-) --- a/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c @@ -1052,15 +1052,6 @@ static int gpmi_get_clks(struct gpmi_nan r->clock[i] = clk; } - if (GPMI_IS_MX6(this)) - /* - * Set the default value for the gpmi clock. - * - * If you want to use the ONFI nand which is in the - * Synchronous Mode, you should change the clock as you need. - */ - clk_set_rate(r->clock[0], 22000000); - return 0; err_clock: Patches currently in stable-queue which might be from s.riedmueller@xxxxxxxxx are queue-5.10/mtd-rawnand-gpmi-remove-explicit-default-gpmi-clock-setting-for-i.mx6.patch queue-5.10/mtd-rawnand-gpmi-add-err007117-protection-for-nfc_apply_timings.patch