commit | bd6d0d6181314fe21b98e7d5163e59eeed0585be | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@st.com> | Tue Jul 04 18:24:43 2017 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Jul 10 14:26:05 2017 -0400 |
tree | b8d1c5900c3126fd329c4c4aff4a04e7e5d9ca7e | |
parent | 5564f2309bbcb5d0611d0e8aec69a0028a81e880 [diff] |
mtd: stm32: use parameter instead of default value To set wait state, a hard coded value is used instead of using latency parameter. stm32_flash_latency_cfg() is currently used in arch/arm/mach-stm32/stm32f4/clock.c and in drivers/clk/clk_stm32f7.c with, in both case, "5" as parameter. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>