summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-01-07 15:05:49 +0100
committerMark Brown <broonie@kernel.org>2018-01-08 11:19:07 +0000
commitd593574aff0ab846136190b1729c151c736727ec (patch)
tree237f253de8dd3f8a6bb2e047930bd8e84fd07290 /samples
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
downloadlinux-d593574aff0ab846136190b1729c151c736727ec.tar.gz
linux-d593574aff0ab846136190b1729c151c736727ec.tar.bz2
linux-d593574aff0ab846136190b1729c151c736727ec.zip
spi: imx: do not access registers while clocks disabled
Since clocks are disabled except during message transfer clocks are also disabled when spi_imx_remove gets called. Accessing registers leads to a freeeze at least on a i.MX 6ULL. Enable clocks before disabling accessing the MXC_CSPICTRL register. Fixes: 9e556dcc55774 ("spi: spi-imx: only enable the clocks when we start to transfer a message") Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions