summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2016-06-02 12:05:11 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-25 07:42:55 -0700
commitdeb319705e7eb60a870e24f75ff8d6452372e350 (patch)
tree0b0ab9a66dc65f7b20b34d44ed955c9b4c3a7818 /drivers/spi
parent7d8867d71fba7604e5d6417e5cbd68a6ffd85bb4 (diff)
downloadlinux-deb319705e7eb60a870e24f75ff8d6452372e350.tar.bz2
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 'drivers/spi')
0 files changed, 0 insertions, 0 deletions