From 4f5ef93497f9bd2ea85b475d81328bb0f1477bb4 Mon Sep 17 00:00:00 2001 From: mb Date: Sun, 6 Feb 2011 21:06:43 +0000 Subject: omap24xx: Remove 2.6.36 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25395 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-2.6.36/750-n810-sound-fixes.patch | 61 ---------------------- 1 file changed, 61 deletions(-) delete mode 100644 target/linux/omap24xx/patches-2.6.36/750-n810-sound-fixes.patch (limited to 'target/linux/omap24xx/patches-2.6.36/750-n810-sound-fixes.patch') diff --git a/target/linux/omap24xx/patches-2.6.36/750-n810-sound-fixes.patch b/target/linux/omap24xx/patches-2.6.36/750-n810-sound-fixes.patch deleted file mode 100644 index 039c59f76..000000000 --- a/target/linux/omap24xx/patches-2.6.36/750-n810-sound-fixes.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- - arch/arm/mach-omap2/board-n8x0.c | 14 ++++++++++++++ - sound/soc/omap/n810.c | 10 ---------- - 2 files changed, 14 insertions(+), 10 deletions(-) - ---- linux-2.6.36-rc7.orig/arch/arm/mach-omap2/board-n8x0.c -+++ linux-2.6.36-rc7/arch/arm/mach-omap2/board-n8x0.c -@@ -906,6 +906,20 @@ static void __init n8x0_gpio_switches_in - ARRAY_SIZE(n8x0_gpio_switches)); - } - -+static struct i2c_board_info n810_tlc320aic3x_i2c_dev[] = { -+ { I2C_BOARD_INFO("tlv320aic3x", 0x1b), } -+}; -+ -+static int __init n810_tlv320aic3x_register(void) -+{ -+ if (machine_is_nokia_n810() || machine_is_nokia_n810_wimax()) { -+ i2c_register_board_info(1, n810_tlc320aic3x_i2c_dev, -+ ARRAY_SIZE(n810_tlc320aic3x_i2c_dev)); -+ } -+ return 0; -+} -+arch_initcall(n810_tlv320aic3x_register); -+ - static void __init n8x0_init_machine(void) - { - omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAC); ---- linux-2.6.36-rc7.orig/sound/soc/omap/n810.c -+++ linux-2.6.36-rc7/sound/soc/omap/n810.c -@@ -22,7 +22,6 @@ - */ - - #include --#include - #include - #include - #include -@@ -336,13 +335,6 @@ static struct snd_soc_device n810_snd_de - - static struct platform_device *n810_snd_device; - --/* temporary i2c device creation until this can be moved into the machine -- * support file. --*/ --static struct i2c_board_info i2c_device[] = { -- { I2C_BOARD_INFO("tlv320aic3x", 0x1b), } --}; -- - static int __init n810_soc_init(void) - { - int err; -@@ -351,8 +343,6 @@ static int __init n810_soc_init(void) - if (!(machine_is_nokia_n810() || machine_is_nokia_n810_wimax())) - return -ENODEV; - -- i2c_register_board_info(1, i2c_device, ARRAY_SIZE(i2c_device)); -- - n810_snd_device = platform_device_alloc("soc-audio", -1); - if (!n810_snd_device) - return -ENOMEM; -- cgit v1.2.3