linux_dsm_epyc7002/sound/hda
Takashi Iwai 33f8194006 ALSA: hda - Handle get/set power verb symmetrically via regmap
HD-audio has quite a few asymmetrical ways of accessing verbs, and one
of typical ones is GET/SET_POWER_STATE verbs.  While it takes only the
power state for setting, it returns a combination of states for
getting.  For making the state handling simpler, this patch adds a
code to translate the value returned from GET_POWER_STATE to return
only the actual state or -1 for error.  In that way, the driver can
simplify the power state management.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-03-23 13:19:43 +01: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 - Use regmap for parameter caches, too 2015-03-23 13:19:40 +01:00
hdac_regmap.c ALSA: hda - Handle get/set power verb symmetrically via regmap 2015-03-23 13:19:43 +01:00
hdac_sysfs.c ALSA: hda - Add widget sysfs tree 2015-03-23 13:17:27 +01: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