mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-30 15:53:22 -05:00
mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6
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 <[email protected]> Cc: [email protected] Acked-by: Han Xu <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
2921885387
commit
f55dbf7298
1 changed files with 0 additions and 9 deletions
|
|
@ -1204,15 +1204,6 @@ static int gpmi_get_clks(struct gpmi_nand_data *this)
|
|||
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue