Home
last modified time | relevance | path

Searched hist:eeecd9d10d3da0b9efd6f58fad55c4355dcc246a (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/sound/pci/hda/
H A Dhda_local.hdiff eeecd9d10d3da0b9efd6f58fad55c4355dcc246a Wed Feb 25 08:18:50 CST 2015 Takashi Iwai <tiwai@suse.de> ALSA: hda - Use regmap for amp accesses

This patch converts the amp access functions to the regmap helpers.
The amp values were formerly cached in the own hash table. Now it's
dropped by the regmap's cache.

The only tricky conversion is snd_hda_codec_amp_init(). This function
shouldn't do anything if the amp was already initialized. For
achieving this behavior, a value is read once at first temporarily in
the cache-only mode. Only if it returns an error, i.e. the item
still doesn't exist in the cache, it proceeds to the update.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
H A Dpatch_hdmi.cdiff eeecd9d10d3da0b9efd6f58fad55c4355dcc246a Wed Feb 25 08:18:50 CST 2015 Takashi Iwai <tiwai@suse.de> ALSA: hda - Use regmap for amp accesses

This patch converts the amp access functions to the regmap helpers.
The amp values were formerly cached in the own hash table. Now it's
dropped by the regmap's cache.

The only tricky conversion is snd_hda_codec_amp_init(). This function
shouldn't do anything if the amp was already initialized. For
achieving this behavior, a value is read once at first temporarily in
the cache-only mode. Only if it returns an error, i.e. the item
still doesn't exist in the cache, it proceeds to the update.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
H A Dhda_codec.cdiff eeecd9d10d3da0b9efd6f58fad55c4355dcc246a Wed Feb 25 08:18:50 CST 2015 Takashi Iwai <tiwai@suse.de> ALSA: hda - Use regmap for amp accesses

This patch converts the amp access functions to the regmap helpers.
The amp values were formerly cached in the own hash table. Now it's
dropped by the regmap's cache.

The only tricky conversion is snd_hda_codec_amp_init(). This function
shouldn't do anything if the amp was already initialized. For
achieving this behavior, a value is read once at first temporarily in
the cache-only mode. Only if it returns an error, i.e. the item
still doesn't exist in the cache, it proceeds to the update.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
H A Dpatch_realtek.cdiff eeecd9d10d3da0b9efd6f58fad55c4355dcc246a Wed Feb 25 08:18:50 CST 2015 Takashi Iwai <tiwai@suse.de> ALSA: hda - Use regmap for amp accesses

This patch converts the amp access functions to the regmap helpers.
The amp values were formerly cached in the own hash table. Now it's
dropped by the regmap's cache.

The only tricky conversion is snd_hda_codec_amp_init(). This function
shouldn't do anything if the amp was already initialized. For
achieving this behavior, a value is read once at first temporarily in
the cache-only mode. Only if it returns an error, i.e. the item
still doesn't exist in the cache, it proceeds to the update.

Signed-off-by: Takashi Iwai <tiwai@suse.de>