aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorLucas Stach <[email protected]>2017-08-29 17:51:22 +0200
committerMark Brown <[email protected]>2017-08-30 18:41:38 +0100
commit1b4a56cd7f5c2f835ffae2a8204fb95597269b10 (patch)
treea193fec5d8492dd579a942f11fa7a4261c51625c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff)
ASoC: simple_card_utils: fix fallback when "label" property isn't present
snd_soc_of_parse_card_name() doesn't return an error if the requested property isn't present, but silently fails to fill the card name. This can not be changed, as it is a backwards compatibility measure itself. We can not rely on the return value of this function alone, but must check if the card name has been filled sucessfully when deciding to skip the fallback path, which is in place for existing users. Fixes: dedfaa1eedc7 (ASoC: simple-card-utils: enable "label" on asoc_simple_card_parse_card_name) Signed-off-by: Lucas Stach <[email protected]> Acked-by: Kuninori Morimoto <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions