diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-18 13:46:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-18 13:46:37 -0400 |
commit | d3e458d78167102cc961237cfceef6fffc80c0b3 (patch) | |
tree | e9195c1294daf053614e63ac52b0b44a28479017 /arch | |
parent | f2e1fbb5f2177227f71c4fc0491e531dd7acd385 (diff) | |
parent | d351cf4603edb2a5bfa9a48d06c425511c63f2a3 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (308 commits)
ALSA: sound/pci/asihpi: check adapter index in hpi_ioctl
ALSA: aloop - Fix possible IRQ lock inversion
ALSA: sound/core: merge list_del()/list_add_tail() to list_move_tail()
ALSA: ctxfi - use list_move() instead of list_del()/list_add() combination
ALSA: firewire - msleep needs delay.h
ALSA: firewire-lib, firewire-speakers: handle packet queueing errors
ALSA: firewire-lib: allocate DMA buffer separately
ALSA: firewire-lib: use no-info SYT for packets without SYT sample
ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver
ALSA: hda - Remove an unused variable in patch_realtek.c
ALSA: hda - pin-adc-mux-dmic auto-configuration of 92HD8X codecs
ALSA: hda - fix digital mic selection in mixer on 92HD8X codecs
ALSA: hda - Move default input-src selection to init part
ALSA: hda - Initialize special cases for input src in init phase
ALSA: ctxfi - Clear input settings before initialization
ALSA: ctxfi - Fix SPDIF status retrieval
ALSA: ctxfi - Fix incorrect SPDIF status bit mask
ALSA: ctxfi - Fix microphone boost codes/comments
ALSA: atiixp - Fix wrong time-out checks during ac-link reset
ALSA: intel8x0m: append 'm' to "r_intel8x0"
...
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-shmobile/board-ag5evm.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 13 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 13 | ||||
-rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 6 | ||||
-rw-r--r-- | arch/sh/boards/mach-se/7724/setup.c | 6 |
5 files changed, 16 insertions, 32 deletions
diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c index 4303a86e6e38..3e6f0aab460b 100644 --- a/arch/arm/mach-shmobile/board-ag5evm.c +++ b/arch/arm/mach-shmobile/board-ag5evm.c | |||
@@ -119,13 +119,6 @@ static struct platform_device keysc_device = { | |||
119 | }; | 119 | }; |
120 | 120 | ||
121 | /* FSI A */ | 121 | /* FSI A */ |
122 | static struct sh_fsi_platform_info fsi_info = { | ||
123 | .porta_flags = SH_FSI_OUT_SLAVE_MODE | | ||
124 | SH_FSI_IN_SLAVE_MODE | | ||
125 | SH_FSI_OFMT(I2S) | | ||
126 | SH_FSI_IFMT(I2S), | ||
127 | }; | ||
128 | |||
129 | static struct resource fsi_resources[] = { | 122 | static struct resource fsi_resources[] = { |
130 | [0] = { | 123 | [0] = { |
131 | .name = "FSI", | 124 | .name = "FSI", |
@@ -144,9 +137,6 @@ static struct platform_device fsi_device = { | |||
144 | .id = -1, | 137 | .id = -1, |
145 | .num_resources = ARRAY_SIZE(fsi_resources), | 138 | .num_resources = ARRAY_SIZE(fsi_resources), |
146 | .resource = fsi_resources, | 139 | .resource = fsi_resources, |
147 | .dev = { | ||
148 | .platform_data = &fsi_info, | ||
149 | }, | ||
150 | }; | 140 | }; |
151 | 141 | ||
152 | static struct resource sh_mmcif_resources[] = { | 142 | static struct resource sh_mmcif_resources[] = { |
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 81d6536552a9..1a8118c929be 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -673,16 +673,12 @@ static int fsi_set_rate(struct device *dev, int is_porta, int rate, int enable) | |||
673 | } | 673 | } |
674 | 674 | ||
675 | static struct sh_fsi_platform_info fsi_info = { | 675 | static struct sh_fsi_platform_info fsi_info = { |
676 | .porta_flags = SH_FSI_BRS_INV | | 676 | .porta_flags = SH_FSI_BRS_INV, |
677 | SH_FSI_OUT_SLAVE_MODE | | ||
678 | SH_FSI_IN_SLAVE_MODE | | ||
679 | SH_FSI_OFMT(PCM) | | ||
680 | SH_FSI_IFMT(PCM), | ||
681 | 677 | ||
682 | .portb_flags = SH_FSI_BRS_INV | | 678 | .portb_flags = SH_FSI_BRS_INV | |
683 | SH_FSI_BRM_INV | | 679 | SH_FSI_BRM_INV | |
684 | SH_FSI_LRS_INV | | 680 | SH_FSI_LRS_INV | |
685 | SH_FSI_OFMT(SPDIF), | 681 | SH_FSI_FMT_SPDIF, |
686 | .set_rate = fsi_set_rate, | 682 | .set_rate = fsi_set_rate, |
687 | }; | 683 | }; |
688 | 684 | ||
@@ -783,6 +779,10 @@ static struct platform_device hdmi_device = { | |||
783 | }, | 779 | }, |
784 | }; | 780 | }; |
785 | 781 | ||
782 | static struct platform_device fsi_hdmi_device = { | ||
783 | .name = "sh_fsi2_b_hdmi", | ||
784 | }; | ||
785 | |||
786 | static long ap4evb_clk_optimize(unsigned long target, unsigned long *best_freq, | 786 | static long ap4evb_clk_optimize(unsigned long target, unsigned long *best_freq, |
787 | unsigned long *parent_freq) | 787 | unsigned long *parent_freq) |
788 | { | 788 | { |
@@ -936,6 +936,7 @@ static struct platform_device *ap4evb_devices[] __initdata = { | |||
936 | &usb1_host_device, | 936 | &usb1_host_device, |
937 | &fsi_device, | 937 | &fsi_device, |
938 | &fsi_ak4643_device, | 938 | &fsi_ak4643_device, |
939 | &fsi_hdmi_device, | ||
939 | &sh_mmcif_device, | 940 | &sh_mmcif_device, |
940 | &lcdc1_device, | 941 | &lcdc1_device, |
941 | &lcdc_device, | 942 | &lcdc_device, |
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 1657eac5dde2..1a63c213e45d 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -399,6 +399,10 @@ static struct platform_device hdmi_device = { | |||
399 | }, | 399 | }, |
400 | }; | 400 | }; |
401 | 401 | ||
402 | static struct platform_device fsi_hdmi_device = { | ||
403 | .name = "sh_fsi2_b_hdmi", | ||
404 | }; | ||
405 | |||
402 | static int __init hdmi_init_pm_clock(void) | 406 | static int __init hdmi_init_pm_clock(void) |
403 | { | 407 | { |
404 | struct clk *hdmi_ick = clk_get(&hdmi_device.dev, "ick"); | 408 | struct clk *hdmi_ick = clk_get(&hdmi_device.dev, "ick"); |
@@ -609,16 +613,12 @@ fsi_set_rate_end: | |||
609 | } | 613 | } |
610 | 614 | ||
611 | static struct sh_fsi_platform_info fsi_info = { | 615 | static struct sh_fsi_platform_info fsi_info = { |
612 | .porta_flags = SH_FSI_BRS_INV | | 616 | .porta_flags = SH_FSI_BRS_INV, |
613 | SH_FSI_OUT_SLAVE_MODE | | ||
614 | SH_FSI_IN_SLAVE_MODE | | ||
615 | SH_FSI_OFMT(PCM) | | ||
616 | SH_FSI_IFMT(PCM), | ||
617 | 617 | ||
618 | .portb_flags = SH_FSI_BRS_INV | | 618 | .portb_flags = SH_FSI_BRS_INV | |
619 | SH_FSI_BRM_INV | | 619 | SH_FSI_BRM_INV | |
620 | SH_FSI_LRS_INV | | 620 | SH_FSI_LRS_INV | |
621 | SH_FSI_OFMT(SPDIF), | 621 | SH_FSI_FMT_SPDIF, |
622 | 622 | ||
623 | .set_rate = fsi_set_rate, | 623 | .set_rate = fsi_set_rate, |
624 | }; | 624 | }; |
@@ -921,6 +921,7 @@ static struct platform_device *mackerel_devices[] __initdata = { | |||
921 | &leds_device, | 921 | &leds_device, |
922 | &fsi_device, | 922 | &fsi_device, |
923 | &fsi_ak4643_device, | 923 | &fsi_ak4643_device, |
924 | &fsi_hdmi_device, | ||
924 | &sdhi0_device, | 925 | &sdhi0_device, |
925 | #if !defined(CONFIG_MMC_SH_MMCIF) | 926 | #if !defined(CONFIG_MMC_SH_MMCIF) |
926 | &sdhi1_device, | 927 | &sdhi1_device, |
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 3b71d2190de1..e44480ce2ea8 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c | |||
@@ -725,11 +725,7 @@ static struct platform_device camera_devices[] = { | |||
725 | 725 | ||
726 | /* FSI */ | 726 | /* FSI */ |
727 | static struct sh_fsi_platform_info fsi_info = { | 727 | static struct sh_fsi_platform_info fsi_info = { |
728 | .portb_flags = SH_FSI_BRS_INV | | 728 | .portb_flags = SH_FSI_BRS_INV, |
729 | SH_FSI_OUT_SLAVE_MODE | | ||
730 | SH_FSI_IN_SLAVE_MODE | | ||
731 | SH_FSI_OFMT(I2S) | | ||
732 | SH_FSI_IFMT(I2S), | ||
733 | }; | 729 | }; |
734 | 730 | ||
735 | static struct resource fsi_resources[] = { | 731 | static struct resource fsi_resources[] = { |
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c index 527679394a25..c8bcf6a19b55 100644 --- a/arch/sh/boards/mach-se/7724/setup.c +++ b/arch/sh/boards/mach-se/7724/setup.c | |||
@@ -286,11 +286,7 @@ static struct platform_device ceu1_device = { | |||
286 | /* FSI */ | 286 | /* FSI */ |
287 | /* change J20, J21, J22 pin to 1-2 connection to use slave mode */ | 287 | /* change J20, J21, J22 pin to 1-2 connection to use slave mode */ |
288 | static struct sh_fsi_platform_info fsi_info = { | 288 | static struct sh_fsi_platform_info fsi_info = { |
289 | .porta_flags = SH_FSI_BRS_INV | | 289 | .porta_flags = SH_FSI_BRS_INV, |
290 | SH_FSI_OUT_SLAVE_MODE | | ||
291 | SH_FSI_IN_SLAVE_MODE | | ||
292 | SH_FSI_OFMT(PCM) | | ||
293 | SH_FSI_IFMT(PCM), | ||
294 | }; | 290 | }; |
295 | 291 | ||
296 | static struct resource fsi_resources[] = { | 292 | static struct resource fsi_resources[] = { |