linux/sound/hda
Takashi Iwai 3068107c94 ALSA: hda - Check the return value from pm_runtime_get/put*()
[ Upstream commit fbce23a0b9 ]

This patch changes the return type of snd_hdac_power_up/down() and
variants to pass the error code from the underlying
pm_runtime_get/put() calls.  Currently they are ignored, but in most
places, these should be handled properly.

As an example, the regmap handler is updated to check the return value
and accesses the register only when the wakeup succeeds.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2016-04-18 08:50:48 -04:00
..
array.c ALSA: hda - Move generic array helpers to core lib 2015-03-23 13:19:35 +01:00
hda_bus_type.c ALSA: hda - Make snd_hda_bus_type public 2015-03-23 13:15:51 +01:00
hdac_bus.c ALSA: hda - Re-add tracepoints to HD-audio core driver 2015-03-23 13:17:58 +01:00
hdac_device.c ALSA: hda - Check the return value from pm_runtime_get/put*() 2016-04-18 08:50:48 -04:00
hdac_regmap.c ALSA: hda - Check the return value from pm_runtime_get/put*() 2016-04-18 08:50:48 -04:00
hdac_sysfs.c ALSA: hda - Expose codec type sysfs 2015-04-13 10:43:54 +02:00
Kconfig ALSA: hda - Add regmap support 2015-03-23 13:19:36 +01:00
local.h ALSA: hda - Add widget sysfs tree 2015-03-23 13:17:27 +01:00
Makefile ALSA: hda - Add regmap support 2015-03-23 13:19:36 +01:00
trace.c ALSA: hda - Re-add tracepoints to HD-audio core driver 2015-03-23 13:17:58 +01:00
trace.h ALSA: hda - Re-add tracepoints to HD-audio core driver 2015-03-23 13:17:58 +01:00