mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 15:11:50 +00:00
drm/radeon: fix hdmi offset bug reported by smatch.
Reported-by: Dan Carpenter Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
8e36ed0084
commit
669899878c
@ -539,7 +539,7 @@ void r600_hdmi_disable(struct drm_encoder *encoder)
|
||||
struct drm_device *dev = encoder->dev;
|
||||
struct radeon_device *rdev = dev->dev_private;
|
||||
struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder);
|
||||
uint8_t offset;
|
||||
uint32_t offset;
|
||||
|
||||
if (ASIC_IS_DCE4(rdev))
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user