diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2014-08-27 17:21:12 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-27 18:45:04 +0400 |
commit | c9d5d6fe168fd45a4dfdd0116affe708789b4702 (patch) | |
tree | e68251982c04d9998e4de88ec8387569ebef7c85 /drivers/spi/spi-dw.c | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) | |
download | linux-c9d5d6fe168fd45a4dfdd0116affe708789b4702.tar.xz |
spi: dw-pci: fix bug when regs left uninitialized
The commit 04f421e7 "spi: dw: use managed resources" changes drivers to use
managed functions, but seems wasn't properly tested in PCI case. The regs field
of struct dw_spi left uninitialized. Thus, kernel crashes when tries to access
to the SPI controller registers. This patch fixes the issue.
Fixes: 04f421e7 (spi: dw: use managed resources)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/spi/spi-dw.c')
0 files changed, 0 insertions, 0 deletions