ALSA: oxygen: simplify model-specific MCLK handling
authorClemens Ladisch <clemens@ladisch.de>
Mon, 10 Jan 2011 15:14:52 +0000 (16:14 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Jan 2011 15:46:31 +0000 (16:46 +0100)
commit5b8bf2a54fb13e40519ee846ce27bc8a2d7a7878
tree2aa57e62574054f6f9d5d8bf5eb55c72c227e787
parentbc29e262c3062682c6099bd455ae8544916f723e
ALSA: oxygen: simplify model-specific MCLK handling

Replace the get_i2s_mclk callback with tables of MCLK values.  This
simplifies the MCLK-handling code in both the framework and the model-
specific drivers.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/oxygen.c
sound/pci/oxygen/oxygen.h
sound/pci/oxygen/oxygen_lib.c
sound/pci/oxygen/oxygen_pcm.c
sound/pci/oxygen/oxygen_regs.h
sound/pci/oxygen/xonar_cs43xx.c
sound/pci/oxygen/xonar_pcm179x.c
sound/pci/oxygen/xonar_wm87x6.c