]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: check for 0 count in speaker allocation and SAD code
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Dec 2013 14:05:49 +0000 (09:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Dec 2013 14:23:16 +0000 (09:23 -0500)
commit5bd2769eb1f8082581bf4cc34300ed0c383fc41f
tree81924e72b3b1d49aac012379c1f379c8740f9393
parent2e6ff6c4a9b963735ef830a6aaf5c697ad7d1da7
drm/radeon: check for 0 count in speaker allocation and SAD code

If there is no speaker allocation block or SAD block, bail
early.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=72283

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/dce6_afmt.c
drivers/gpu/drm/radeon/evergreen_hdmi.c