diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-07-10 14:42:43 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-22 15:19:40 +0300 |
commit | 3da9834d9381dd99273f2ad4e6d096c9187dc4f2 (patch) | |
tree | 770e956c414837a3d1d68d00df5b4286bbc25989 /drivers/spi/spi-dw-pci.c | |
parent | 0521050215d0daae5d84b212fbe9fc16462f58f6 (diff) | |
download | linux-3da9834d9381dd99273f2ad4e6d096c9187dc4f2.tar.xz |
spi: dw-mmio: Clock should be shut when error occurs
When optional clock requesting fails, the main clock is still up and running,
we should shut it down in such caee.
Fixes: 560ee7e91009 ("spi: dw: Add support for an optional interface clock")
Cc: Phil Edworthy <phil.edworthy@renesas.com>
Cc: Gareth Williams <gareth.williams.jx@renesas.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Gareth Williams <gareth.williams.jx@renesas.com>
Link: https://lore.kernel.org/r/20190710114243.30101-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw-pci.c')
0 files changed, 0 insertions, 0 deletions