]> 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)
commit0a043cc51f583421596395674c7ac4949f25c799
tree81924e72b3b1d49aac012379c1f379c8740f9393
parentc00c7f9203ccd82d062917bc71c4cc6ecb20a7ec
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