1. 14 5月, 2012 3 次提交
    • R
      ARM: PCI: get rid of pci_std_swizzle() · daeb4c0c
      Russell King 提交于
      Most PCI implementations use the standard PCI swizzle function, which
      handles the well defined behaviour of PCI-to-PCI bridges which can be
      found on cards (eg, four port ethernet cards.)
      
      Rather than having almost every platform specify the standard swizzle
      function, make this the default when no swizzle function is supplied.
      Therefore, a swizzle function only needs to be provided when there is
      something exceptional which needs to be handled.
      
      This gets rid of the swizzle initializer from 47 files, and leaves us
      with just two platforms specifying a swizzle function: ARM Integrator
      and Chalice CATS.
      Acked-by: NKrzysztof Hałasa <khc@pm.waw.pl>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      daeb4c0c
    • R
      ARM: PCI: versatile: fix PCI interrupt setup · 1bc39ac5
      Russell King 提交于
      This is at odds with the documentation in the file; it says pin 1 on
      slots 24,25,26,27 map to IRQs 27,28,29,30, but the function will always
      be entered with slot=0 due to the lack of swizzle function.  Fix this
      function to behave as the comments say, and use the standard PCI
      swizzle.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1bc39ac5
    • R
      ARM: PCI: integrator: use common PCI swizzle · b28626da
      Russell King 提交于
      The Integrator swizzle function is almost the same as the standard PCI
      swizzle, except for an initial check for pin = 0.  Make the integrator
      swizzle function a wrapper around the standard PCI swizzle function so
      we preseve this behaviour while using common code.
      
      [fix to use pci_std_swizzle from Linus Walleij]
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b28626da
  2. 26 4月, 2012 2 次提交
  3. 16 4月, 2012 4 次提交
  4. 15 4月, 2012 2 次提交
  5. 14 4月, 2012 8 次提交
  6. 13 4月, 2012 4 次提交
  7. 10 4月, 2012 4 次提交
  8. 09 4月, 2012 3 次提交
    • J
      ARM: EXYNOS: Fix compile error in exynos5250-cpufreq.c · 32db797f
      Jonghwan Choi 提交于
      This patch is omitted in v2 patch of Jaecheol Lee.
      
      drivers/cpufreq/exynos5250-cpufreq.c: In function 'set_clkdiv':
      drivers/cpufreq/exynos5250-cpufreq.c:144: error: 'EXYNOS5_CLKDIV_STATCPU0' undeclared (first use in this function)
      drivers/cpufreq/exynos5250-cpufreq.c:144: error: (Each undeclared identifier is reported only once
      drivers/cpufreq/exynos5250-cpufreq.c:144: error: for each function it appears in.)
      drivers/cpufreq/exynos5250-cpufreq.c:150: error: 'EXYNOS5_CLKDIV_CPU1' undeclared (first use in this function)
      drivers/cpufreq/exynos5250-cpufreq.c:152: error: 'EXYNOS5_CLKDIV_STATCPU1' undeclared (first use in this function)
      drivers/cpufreq/exynos5250-cpufreq.c: In function 'set_apll':
      drivers/cpufreq/exynos5250-cpufreq.c:166: error: 'EXYNOS5_CLKMUX_STATCPU' undeclared (first use in this function)
      drivers/cpufreq/exynos5250-cpufreq.c:173: error: 'EXYNOS5_APLL_LOCK' undeclared (first use in this function)
      drivers/cpufreq/exynos5250-cpufreq.c: In function 'exynos5250_cpufreq_init':
      drivers/cpufreq/exynos5250-cpufreq.c:312: error: 'EXYNOS5_CLKDIV_CPU1' undeclared (first use in this function)
      
      Cc: Jaecheol Lee <jc.lee@samsung.com>
      Signed-off-by: NJonghwan Choi <jhbird.choi@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      32db797f
    • T
      ARM: EXYNOS: Add missing definition for IRQ_I2S0 · 0d923490
      Tushar Behera 提交于
      This fixes following build error when sound support is selected
      on EXYNOS4 platform.
      
      sound/soc/samsung/idma.c: In function ‘idma_close’:
      sound/soc/samsung/idma.c:327:11: error: ‘IRQ_I2S0’ undeclared (first use in this function)
      Signed-off-by: NTushar Behera <tushar.behera@linaro.org>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      0d923490
    • K
      ARM: S5PV210: fix unused LDO supply field from wm8994_pdata · 70499329
      Kukjin Kim 提交于
      According to commit 719a4240("mfd: Remove unused LDO supply field
      from WM8994 pdata"), the LDO supply field should be removed from
      the initializer.
      
      Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      70499329
  9. 06 4月, 2012 2 次提交
    • S
      simple_open: automatically convert to simple_open() · 234e3405
      Stephen Boyd 提交于
      Many users of debugfs copy the implementation of default_open() when
      they want to support a custom read/write function op.  This leads to a
      proliferation of the default_open() implementation across the entire
      tree.
      
      Now that the common implementation has been consolidated into libfs we
      can replace all the users of this function with simple_open().
      
      This replacement was done with the following semantic patch:
      
      <smpl>
      @ open @
      identifier open_f != simple_open;
      identifier i, f;
      @@
      -int open_f(struct inode *i, struct file *f)
      -{
      (
      -if (i->i_private)
      -f->private_data = i->i_private;
      |
      -f->private_data = i->i_private;
      )
      -return 0;
      -}
      
      @ has_open depends on open @
      identifier fops;
      identifier open.open_f;
      @@
      struct file_operations fops = {
      ...
      -.open = open_f,
      +.open = simple_open,
      ...
      };
      </smpl>
      
      [akpm@linux-foundation.org: checkpatch fixes]
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      234e3405
    • R
      ARM: fix __io macro for PCMCIA · 1ac02d79
      Rob Herring 提交于
      With commit c334bc15 (ARM: make mach/io.h include optional), PCMCIA was
      broken. PCMCIA depends on __io() returning a valid i/o address, and most
      ARM platforms require IO_SPACE_LIMIT be set to 0xffffffff for PCMCIA. This
      needs a better fix with a fixed i/o address mapping, but for now we just
      restore things to the previous behavior.
      
      This fixes at91, omap1, pxa and sa11xx. pxa needs io.h if PCI is enabled,
      but PCMCIA is not. sa11xx already has IO_SPACE_LIMIT set to 0xffffffff,
      so it doesn't need an io.h.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Joachim Eastwood <joachim.eastwood@jotron.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Andrew Victor <linux@maxim.org.za>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Tested-by: Paul Parsons <lost.distance@yahoo.com> (pxa270)
      Acked-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      1ac02d79
  10. 05 4月, 2012 8 次提交