aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2016-04-13 00:54:30 +0000
committerWolfram Sang <[email protected]>2023-10-29 19:30:07 +0000
commit5ac61d26b8baff5b2e5a9f3dc1ef63297e4b53e7 (patch)
tree1aca0b1b472c85598d08572784b66c8329dcfdc5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parenti2c: mux: demux-pinctrl: Convert to use sysfs_emit_at() API (diff)
downloadkernel-5ac61d26b8baff5b2e5a9f3dc1ef63297e4b53e7.tar.gz
kernel-5ac61d26b8baff5b2e5a9f3dc1ef63297e4b53e7.zip
i2c: sun6i-p2wi: Prevent potential division by zero
Make sure we don't OOPS in case clock-frequency is set to 0 in a DT. The variable set here is later used as a divisor. Signed-off-by: Axel Lin <[email protected]> Acked-by: Boris Brezillon <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions