drm/amdgpu: fix hpd range check in dce_v8_0_hpd_irq()
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 11 Jun 2015 15:26:03 +0000 (11:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jun 2015 15:21:38 +0000 (11:21 -0400)
commite922cfb1c410d8cb200a08f1b2a527d92d95480a
treedf0a0b21bf7e40a23d675103dfa6a6459cf97816
parentc5fd936e992dd2829167d2adc63e151675ca6898
drm/amdgpu: fix hpd range check in dce_v8_0_hpd_irq()

Spotted by Dan Carpenter.  This is a slight variant of
his fix.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c