aboutsummaryrefslogtreecommitdiff
path: root/sound/hda/hdac_device.c
diff options
context:
space:
mode:
authorGravatar Heloise NH <kernelpatch_update@163.com> 2015-07-17 09:42:06 +0800
committerGravatar Takashi Iwai <tiwai@suse.de> 2015-07-17 14:56:19 +0200
commit6986a0e2556df3dfb54c624b50b02936bd1e00ef (patch)
treea7f0c62d91149f9227b46c9480ee8d40f7f89091 /sound/hda/hdac_device.c
parentALSA: aoa: Drop owner assignment from i2c_driver (diff)
downloadlinux-6986a0e2556df3dfb54c624b50b02936bd1e00ef.tar.gz
linux-6986a0e2556df3dfb54c624b50b02936bd1e00ef.tar.bz2
linux-6986a0e2556df3dfb54c624b50b02936bd1e00ef.zip
ALSA: hda: fix kstrdup return value
In kstrdup we should return -ENOMEM when it reports an memory allocation failure, while the -ENODEV is referred to a failure in finding the cpu node in the device tree. Signed-off-by: Heloise NH <kernelpatch_update@163.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda/hdac_device.c')
0 files changed, 0 insertions, 0 deletions