]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
ALSA: hda/realtek - Small code cleanups
authorTakashi Iwai <tiwai@suse.de>
Tue, 21 Feb 2012 11:54:17 +0000 (12:54 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Feb 2012 12:48:35 +0000 (13:48 +0100)
commit070cff4cfd267b9d266f4f8362ea99532234eb21
treed4a119c94cd31ac911ed875cb0768de51e104de9
parentf568291ef571522202e8b9f893ab33694bb2fc31
ALSA: hda/realtek - Small code cleanups

A few clean-ups for post-static-quirk time:
- Call alc_auto_init_std() statically in alc_init() instead of setting
  spec->init_hook in each caller.  spec->init_hook field is left
  unused for any future use.

- Move the call of set_capture_mixer() to to alc_parse_auto_config()
  instead of each caller.

- Get rid of the ADC-filling and imux check in each parser function.
  This is no longer needed since the auto-parser always check ADCs and
  imux.  It was only for the static quirks.

- Kill unused defines

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