]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: hda - Simplify PCM setup overrides
authorTakashi Iwai <tiwai@suse.de>
Mon, 16 Mar 2015 22:34:34 +0000 (23:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Mar 2015 19:57:20 +0000 (20:57 +0100)
commitfb83b6351052bf78686df2559f7ea6b10e596850
treeeee9711b4e895efc5c51587fe2cb87340a45c929
parent2a557a861ae44e1941452bc2d700f1be58c1325b
ALSA: hda - Simplify PCM setup overrides

This patch does two things:
- code refactoring with a local helper function,
- allow codec drivers to provide the specific PCM stream info pointers
  only for overriding the non-NULL entries, instead of copying the
  whole.

This simplifies the codec driver side (currently the only user is
alc269's 44kHz fixed rate).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c
sound/pci/hda/patch_realtek.c