Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305627
b: refs/heads/master
c: fa063b4
h: refs/heads/master
i:
  305625: 47b99ec
  305623: c4cf679
v: v3
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Apr 13, 2012
1 parent 4bfc5b4 commit 78971cb
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 130 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af8a2fe12fae1b59178dc96e396e5665bcbea7da
refs/heads/master: fa063b48046c1f30cb06898559bb34935ade74e1
20 changes: 19 additions & 1 deletion trunk/arch/arm/mach-shmobile/board-ap4evb.c
Original file line number Diff line number Diff line change
Expand Up @@ -909,8 +909,26 @@ static struct platform_device lcdc1_device = {
},
};

static struct asoc_simple_dai_init_info fsi2_hdmi_init_info = {
.cpu_daifmt = SND_SOC_DAIFMT_CBM_CFM,
};

static struct asoc_simple_card_info fsi2_hdmi_info = {
.name = "HDMI",
.card = "FSI2B-HDMI",
.cpu_dai = "fsib-dai",
.codec = "sh-mobile-hdmi",
.platform = "sh_fsi2",
.codec_dai = "sh_mobile_hdmi-hifi",
.init = &fsi2_hdmi_init_info,
};

static struct platform_device fsi_hdmi_device = {
.name = "sh_fsi2_b_hdmi",
.name = "asoc-simple-card",
.id = 1,
.dev = {
.platform_data = &fsi2_hdmi_info,
},
};

static struct gpio_led ap4evb_leds[] = {
Expand Down
20 changes: 19 additions & 1 deletion trunk/arch/arm/mach-shmobile/board-mackerel.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,26 @@ static struct platform_device hdmi_lcdc_device = {
},
};

static struct asoc_simple_dai_init_info fsi2_hdmi_init_info = {
.cpu_daifmt = SND_SOC_DAIFMT_CBM_CFM,
};

static struct asoc_simple_card_info fsi2_hdmi_info = {
.name = "HDMI",
.card = "FSI2B-HDMI",
.cpu_dai = "fsib-dai",
.codec = "sh-mobile-hdmi",
.platform = "sh_fsi2",
.codec_dai = "sh_mobile_hdmi-hifi",
.init = &fsi2_hdmi_init_info,
};

static struct platform_device fsi_hdmi_device = {
.name = "sh_fsi2_b_hdmi",
.name = "asoc-simple-card",
.id = 1,
.dev = {
.platform_data = &fsi2_hdmi_info,
},
};

static void __init hdmi_init_pm_clock(void)
Expand Down
7 changes: 0 additions & 7 deletions trunk/sound/soc/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ config SND_FSI_DA7210
This option enables generic sound support for the
FSI - DA7210 unit

config SND_FSI_HDMI
tristate "FSI-HDMI sound support"
depends on SND_SOC_SH4_FSI && FB_SH_MOBILE_HDMI
help
This option enables generic sound support for the
FSI - HDMI unit

config SND_SIU_MIGOR
tristate "SIU sound support on Migo-R"
depends on SH_MIGOR
Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/sh/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ obj-$(CONFIG_SND_SOC_SH4_SIU) += snd-soc-siu.o
## boards
snd-soc-sh7760-ac97-objs := sh7760-ac97.o
snd-soc-fsi-da7210-objs := fsi-da7210.o
snd-soc-fsi-hdmi-objs := fsi-hdmi.o
snd-soc-migor-objs := migor.o

obj-$(CONFIG_SND_SH7760_AC97) += snd-soc-sh7760-ac97.o
obj-$(CONFIG_SND_FSI_DA7210) += snd-soc-fsi-da7210.o
obj-$(CONFIG_SND_FSI_HDMI) += snd-soc-fsi-hdmi.o
obj-$(CONFIG_SND_SIU_MIGOR) += snd-soc-migor.o
118 changes: 0 additions & 118 deletions trunk/sound/soc/sh/fsi-hdmi.c

This file was deleted.

0 comments on commit 78971cb

Please sign in to comment.