diff options
author | Peng Fan <van.freenix@gmail.com> | 2016-06-02 13:05:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-25 16:42:55 +0200 |
commit | deb319705e7eb60a870e24f75ff8d6452372e350 (patch) | |
tree | 0b0ab9a66dc65f7b20b34d44ed955c9b4c3a7818 /Makefile | |
parent | nvmem: mxs-ocotp: remove nvmem regmap dependency (diff) | |
download | linux-deb319705e7eb60a870e24f75ff8d6452372e350.tar.xz linux-deb319705e7eb60a870e24f75ff8d6452372e350.zip |
nvmem: imx-ocotp: handling clock
Before access ocotp nvmem area, the clock should be enabled.
Or, `hexdump nvmem` will hang the system. So, use such flow:
"
1. clock_enable_prepare
2. read nvmem ocotp area
3. clock_disable_unprepare
"
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions