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)
commit7cc0a3d85b5d4acb69d60a88de0bd029bef04b4f
tree33b5f067f0ff85ed945a7d43232fb671fee0aff8
parent63580c3e48de1a35ec8847ea24f1acb5aef48608
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