]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/dce6/audio: make sure pin is valid before accessing it
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Sep 2013 18:03:21 +0000 (14:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:25 +0000 (11:44 -0400)
commitd49e278d7fc42d2f80dcb42279135a645c9a6066
tree33b5f067f0ff85ed945a7d43232fb671fee0aff8
parent7ed3215ae8a0a240c2dd35eb165ce437223967b7
drm/radeon/dce6/audio: make sure pin is valid before accessing it

Make sure the audio pin is valid before accessing its members.

Noticed by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/dce6_afmt.c