]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge tag 'sound-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Dec 2012 19:51:23 +0000 (11:51 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Dec 2012 19:51:23 +0000 (11:51 -0800)
Pull sound updates from Takashi Iwai:
 "This update contains a fairly wide range of changes all over in sound
  subdirectory, mainly because of UAPI header moves by David and __dev*
  annotation removals by Bill.  Other highlights are:

   - Introduced the support for wallclock timestamps in ALSA PCM core

   - Add the poll loop implementation for HD-audio jack detection

   - Yet more VGA-switcheroo fixes for HD-audio

   - New VIA HD-audio codec support

   - More fixes on resource management in USB audio and MIDI drivers

   - More quirks for USB-audio ASUS Xonar U3, Reloop Play, Focusrite,
     Roland VG-99, etc

   - Add support for FastTrack C400 usb-audio

   - Clean ups in many drivers regarding firmware loading

   - Add PSC724 Ultiimate Edge support to ice1712

   - A few hdspm driver updates

   - New Stanton SCS.1d/1m FireWire driver

   - Standardisation of the logging in ASoC codes

   - DT and dmaengine support for ASoC Atmel

   - Support for Wolfson ADSP cores

   - New drivers for Freescale/iVeia P1022 and Maxim MAX98090

   - Lots of other ASoC driver fixes and developments"

Fix up trivial conflicts.  And go out on a limb and assume the dts file
'status' field of one of the conflicting things was supposed to be
"disabled", not "disable" like in pretty much all other cases.

* tag 'sound-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (341 commits)
  ALSA: hda - Move runtime PM check to runtime_idle callback
  ALSA: hda - Add stereo-dmic fixup for Acer Aspire One 522
  ALSA: hda - Avoid doubly suspend after vga switcheroo
  ALSA: usb-audio: Enable S/PDIF on the ASUS Xonar U3
  ALSA: hda - Check validity of CORB/RIRB WP reads
  ALSA: hda - use usleep_range in link reset and change timeout check
  ALSA: HDA: VIA: Add support for codec VT1808.
  ALSA: HDA: VIA Add support for codec VT1705CF.
  ASoC: codecs: remove __dev* attributes
  ASoC: utils: remove __dev* attributes
  ASoC: ux500: remove __dev* attributes
  ASoC: txx9: remove __dev* attributes
  ASoC: tegra: remove __dev* attributes
  ASoC: spear: remove __dev* attributes
  ASoC: sh: remove __dev* attributes
  ASoC: s6000: remove __dev* attributes
  ASoC: OMAP: remove __dev* attributes
  ASoC: nuc900: remove __dev* attributes
  ASoC: mxs: remove __dev* attributes
  ASoC: kirkwood: remove __dev* attributes
  ...

32 files changed:
1  2 
arch/arm/boot/dts/at91sam9260.dtsi
arch/arm/boot/dts/at91sam9263.dtsi
arch/arm/boot/dts/at91sam9g20ek_common.dtsi
arch/arm/boot/dts/at91sam9g45.dtsi
arch/arm/boot/dts/at91sam9x5.dtsi
arch/arm/mach-at91/at91rm9200.c
arch/arm/mach-at91/at91rm9200_devices.c
arch/arm/mach-at91/at91sam9260.c
arch/arm/mach-at91/at91sam9260_devices.c
arch/arm/mach-at91/at91sam9261.c
arch/arm/mach-at91/at91sam9261_devices.c
arch/arm/mach-at91/at91sam9263.c
arch/arm/mach-at91/at91sam9263_devices.c
arch/arm/mach-at91/at91sam9g45.c
arch/arm/mach-at91/at91sam9g45_devices.c
arch/arm/mach-at91/at91sam9rl.c
arch/arm/mach-at91/at91sam9rl_devices.c
arch/arm/mach-at91/at91sam9x5.c
arch/arm/mach-at91/board-sam9g20ek.c
arch/arm/mach-davinci/board-da850-evm.c
arch/arm/mach-exynos/mach-smdkv310.c
arch/arm/mach-s3c64xx/mach-crag6410.c
arch/arm/plat-samsung/devs.c
arch/arm/plat-samsung/include/plat/devs.h
drivers/mfd/arizona-core.c
drivers/mfd/wm8994-core.c
drivers/misc/atmel-ssc.c
sound/soc/fsl/imx-pcm-fiq.c
sound/soc/fsl/imx-ssi.c
sound/soc/omap/omap-pcm.c
sound/soc/tegra/tegra30_ahub.c
sound/soc/ux500/ux500_pcm.c

index c528b4b429b96efa5f3473fe4f8287711e6d2e56,aaa42d8d4f8895233bdaddc00b3bdf69775e0379..68bccf41a2c6a1855c6dfd87555faabf81306cb7
                                status = "disabled";
                        };
  
 -                              status = "disable";
 +                      mmc0: mmc@fffa8000 {
 +                              compatible = "atmel,hsmci";
 +                              reg = <0xfffa8000 0x600>;
 +                              interrupts = <9 4 0>;
 +                              #address-cells = <1>;
 +                              #size-cells = <0>;
 +                              status = "disabled";
 +                      };
 +
+                       ssc0: ssc@fffbc000 {
+                               compatible = "atmel,at91rm9200-ssc";
+                               reg = <0xfffbc000 0x4000>;
+                               interrupts = <14 4 5>;
++                              status = "disabled";
+                       };
                        adc0: adc@fffe0000 {
                                compatible = "atmel,at91sam9260-adc";
                                reg = <0xfffe0000 0x100>;
Simple merge
index 32a500a0e481f7473de51be152546081b8bddd15,2dcec8de759f97c31780027614f99866bb0c8a58..da15e83e7f179deceb146b19e5d3b8d7ddb8e90d
                                status = "okay";
                        };
  
 +                      mmc0: mmc@fffa8000 {
 +                              pinctrl-0 = <
 +                                      &pinctrl_board_mmc0_slot1
 +                                      &pinctrl_mmc0_clk
 +                                      &pinctrl_mmc0_slot1_cmd_dat0
 +                                      &pinctrl_mmc0_slot1_dat1_3>;
 +                              status = "okay";
 +                              slot@1 {
 +                                      reg = <1>;
 +                                      bus-width = <4>;
 +                                      cd-gpios = <&pioC 9 0>;
 +                              };
 +                      };
 +
 +                      pinctrl@fffff400 {
 +                              mmc0_slot1 {
 +                                      pinctrl_board_mmc0_slot1: mmc0_slot1-board {
 +                                              atmel,pins =
 +                                                      <2 9 0x0 0x5>;  /* PC9 gpio CD pin pull up and deglitch */
 +                                      };
 +                              };
 +                      };
++
+                       ssc0: ssc@fffbc000 {
+                               status = "okay";
+                               pinctrl-0 = <&pinctrl_ssc0_tx>;
+                       };
                };
  
                nand0: nand@40000000 {
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index dfb2c0c13fb560331fc3179e3272cb909a77eecd,18fbbb27f97fcbb7a191867af7edaa0c2c1f4e8a..44a9a62dcc139f1b096d44b5e1c158cea168b3f2
@@@ -229,10 -229,9 +229,11 @@@ static struct clk_lookup periph_clocks_
        CLKDEV_CON_DEV_ID("usart", "f8028000.serial", &usart3_clk),
        CLKDEV_CON_DEV_ID("t0_clk", "f8008000.timer", &tcb0_clk),
        CLKDEV_CON_DEV_ID("t0_clk", "f800c000.timer", &tcb0_clk),
 +      CLKDEV_CON_DEV_ID("mci_clk", "f0008000.mmc", &mmc0_clk),
 +      CLKDEV_CON_DEV_ID("mci_clk", "f000c000.mmc", &mmc1_clk),
        CLKDEV_CON_DEV_ID("dma_clk", "ffffec00.dma-controller", &dma0_clk),
        CLKDEV_CON_DEV_ID("dma_clk", "ffffee00.dma-controller", &dma1_clk),
+       CLKDEV_CON_DEV_ID("pclk", "f0010000.ssc", &ssc_clk),
        CLKDEV_CON_DEV_ID(NULL, "f8010000.i2c", &twi0_clk),
        CLKDEV_CON_DEV_ID(NULL, "f8014000.i2c", &twi1_clk),
        CLKDEV_CON_DEV_ID(NULL, "f8018000.i2c", &twi2_clk),
Simple merge
Simple merge
Simple merge
Simple merge
index f53beba2b63df952770e50d51f71c7bca9560e23,c45f70cbbfb701703f6eb1e6fe9cb71d5391d131..87d501ff332852124b48180793f3d7e86ef2bbe6
@@@ -132,7 -133,8 +132,6 @@@ extern struct platform_device exynos4_d
  extern struct platform_device exynos4_device_pcm2;
  extern struct platform_device exynos4_device_spdif;
  
- extern struct platform_device samsung_asoc_dma;
 -extern struct platform_device exynos_device_drm;
 -
  extern struct platform_device samsung_asoc_idma;
  extern struct platform_device samsung_device_keypad;
  
Simple merge
index c7f62ac544ad74e2282b29b62c1c9f25e16cc868,45a20c573aa3d50ae026470fe53f65aeb1e71b37..bcb226ff9d2b7415bc567d2e855bf18ebfcc487f
@@@ -399,9 -399,9 +399,9 @@@ static const struct reg_default wm1811_
  /*
   * Instantiate the generic non-control parts of the device.
   */
 -static __devinit int wm8994_device_init(struct wm8994 *wm8994, int irq)
 +static int wm8994_device_init(struct wm8994 *wm8994, int irq)
  {
-       struct wm8994_pdata *pdata = wm8994->dev->platform_data;
+       struct wm8994_pdata *pdata;
        struct regmap_config *regmap_config;
        const struct reg_default *regmap_patch = NULL;
        const char *devname;
index c58f9abcb35659f58ee9fbdbaad5c387d366ad06,d07a9eda7fff4a29aebc43892658b339b4ebb196..158da5a81a661824a2dca0ee2a9fe93fb5cacfb6
@@@ -125,19 -186,10 +186,10 @@@ static int ssc_probe(struct platform_de
        dev_info(&pdev->dev, "Atmel SSC device at 0x%p (irq %d)\n",
                        ssc->regs, ssc->irq);
  
-       goto out;
- out_unmap:
-       iounmap(ssc->regs);
- out_clk:
-       clk_put(ssc->clk);
- out_free:
-       kfree(ssc);
- out:
-       return retval;
+       return 0;
  }
  
 -static int __devexit ssc_remove(struct platform_device *pdev)
 +static int ssc_remove(struct platform_device *pdev)
  {
        struct ssc_device *ssc = platform_get_drvdata(pdev);
  
@@@ -155,21 -204,13 +204,13 @@@ static struct platform_driver ssc_drive
        .driver         = {
                .name           = "ssc",
                .owner          = THIS_MODULE,
+               .of_match_table = of_match_ptr(atmel_ssc_dt_ids),
        },
 -      .remove         = __devexit_p(ssc_remove),
+       .id_table       = atmel_ssc_devtypes,
+       .probe          = ssc_probe,
++      .remove         = ssc_remove,
  };
- static int __init ssc_init(void)
- {
-       return platform_driver_probe(&ssc_driver, ssc_probe);
- }
- module_init(ssc_init);
- static void __exit ssc_exit(void)
- {
-       platform_driver_unregister(&ssc_driver);
- }
- module_exit(ssc_exit);
+ module_platform_driver(ssc_driver);
  
  MODULE_AUTHOR("Hans-Christian Egtvedt <hcegtvedt@atmel.com>");
  MODULE_DESCRIPTION("SSC driver for Atmel AVR32 and AT91");
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge