diff options
author | Sourav Poddar <sourav.poddar@ti.com> | 2013-11-19 14:07:16 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-24 15:15:11 +0100 |
commit | cbcabb7a300bf5ab868c632048889a933e7cdae5 (patch) | |
tree | a608e2a5c839263798beaa0d6bf6dad68c23806e /security/keys/Makefile | |
parent | spi/qspi: cleanup pm_runtime error check. (diff) | |
download | linux-cbcabb7a300bf5ab868c632048889a933e7cdae5.tar.xz linux-cbcabb7a300bf5ab868c632048889a933e7cdae5.zip |
spi/qspi: Fix qspi remove path.
There is a bug in qspi removal path, as a result of which
qspi cannot be removed when used as a module. The patch
solves the bug and qspi can be removed cleanly.
The bugs fixed are:
-pm_runtime used around register access.
- pm_runtime_disable need to be done before removal.
- spi_unregister_master need to be called to unregister
the spi device.
Tested on DRA7 board.
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'security/keys/Makefile')
0 files changed, 0 insertions, 0 deletions