OSDN Git Service

drm/radeon: fix speaker allocation setup
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Oct 2014 15:51:50 +0000 (11:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Oct 2014 22:34:07 +0000 (18:34 -0400)
commit4910403836ded89803fab201d4b5caaa85de3a89
tree4292ed06f574fc1541af2c8838cd571a1e6e5a06
parent83d04c39f9048807a8500e575ae3f1718a3f45bb
drm/radeon: fix speaker allocation setup

If the sad_count is 0, set the hw to stereo and change
the error message to a warn.  A lot of monitors don't
set the speaker allocation block.

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