diff options
author | Stefan Agner <stefan@agner.ch> | 2018-01-07 15:05:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-03 17:04:31 +0100 |
commit | f84a8d446a16379df5844bc2bd50f0b7431a4718 (patch) | |
tree | 8446e5327b64230b255487210ff3ae935032ff54 /drivers/usb/serial/Makefile | |
parent | ec73ade66474b645f2322d78e80746310e657399 (diff) |
spi: imx: do not access registers while clocks disabled
commit d593574aff0ab846136190b1729c151c736727ec upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/Makefile')
0 files changed, 0 insertions, 0 deletions