2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/sound/hda
Takashi Iwai faa75f8a2e ALSA: hda - Use regmap for parameter caches, too
The amp hash table was used for recording the cached reads of some
capability values like pin caps or amp caps.  Now all these are moved
to regmap as well.

One addition to the regmap helper is codec->caps_overwriting flag.
This is set in snd_hdac_override_parm(), and the regmap helper accepts
any register while this flag is set, so that it can overwrite even the
read-only verb like AC_VERB_PARAMETERS.  The flag is cleared
immediately in snd_hdac_override_parm(), as it's a once-off flag.

Along with these changes, the no longer needed amp hash and relevant
fields are removed from hda_codec struct now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-03-23 13:19:40 +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 - Use regmap for parameter caches, too 2015-03-23 13:19:40 +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