mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
spi: dw: fix kernel crash due to NULL pointer dereference
The obvious fix after the commitd9c73bb8a3"spi: dw: add support for gpio controlled chip select". This patch fixes the issue by using locally defined temporary variable. Fixes:d9c73bb8a3(spi: dw: add support for gpio controlled chip select) Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: <stable@vger.kernel.org>
This commit is contained in:
parent
c9d5d6fe16
commit
08a707b878
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue