summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-s3c64xx.c
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2020-05-25 14:29:10 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-05-28 14:00:50 -0400
commit2b7ad277e96577e1349072f7e2bab047917ed10d (patch)
treefa35379376a7bd7c8c1d0883640862beecb1ae45 /drivers/spi/spi-s3c64xx.c
parent1aad7078191116f8a363466fcf461f2325c5def2 (diff)
drm/amd/powerplay: check whether SMU IP is enabled before access
Since on early phase of bringup, the SMU IP may be not enabled or supported. Without this, we may hit null pointer dereference on accessing smu->adev. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Yong Zhao <Yong.Zhao@amd.com> Tested-by: Yong Zhao <Yong.Zhao@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/spi/spi-s3c64xx.c')
0 files changed, 0 insertions, 0 deletions