diff options
author | Marek Vasut <marex@denx.de> | 2017-04-18 20:09:06 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-04-18 19:16:49 +0100 |
commit | 400c18e3dc86e04ef5afec9b86a8586ca629b9e9 (patch) | |
tree | f598d12dc23205ecdeeaccc284cfe85a474d177a /mm/swap.c | |
parent | fafd67940774733fa97f4b09412aea6981b82e0a (diff) | |
download | linux-400c18e3dc86e04ef5afec9b86a8586ca629b9e9.tar.bz2 |
spi: dw: Disable clock after unregistering the host
The dw_mmio driver disables the block clock before unregistering
the host. The code unregistering the host may access the SPI block
registers. If register access happens with block clock disabled,
this may lead to a bus hang. Disable the clock after unregistering
the host to prevent such situation.
This bug was observed on Altera Cyclone V SoC.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions