diff options
| author | Zhao Qiang <[email protected]> | 2020-11-03 02:05:46 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-11-04 17:50:24 +0000 |
| commit | 9bd77a9ce31dd242fece27219d14fbee5068dd85 (patch) | |
| tree | e6f1a1c86e7ad1642545de81e5b92be2f4f93f6a /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | spi: bcm2835: fix gpio cs level inversion (diff) | |
| download | kernel-9bd77a9ce31dd242fece27219d14fbee5068dd85.tar.gz kernel-9bd77a9ce31dd242fece27219d14fbee5068dd85.zip | |
spi: fsl-dspi: fix wrong pointer in suspend/resume
Since commit 530b5affc675 ("spi: fsl-dspi: fix use-after-free in
remove path"), this driver causes a "NULL pointer dereference"
in dspi_suspend/resume.
This is because since this commit, the drivers private data point to
"dspi" instead of "ctlr", the codes in suspend and resume func were
not modified correspondly.
Fixes: 530b5affc675 ("spi: fsl-dspi: fix use-after-free in remove path")
Signed-off-by: Zhao Qiang <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
