1. 13 11月, 2014 1 次提交
  2. 04 7月, 2014 1 次提交
  3. 18 3月, 2014 1 次提交
    • A
      ARM: mmp: allow platform devices with modular USB · 35240808
      Arnd Bergmann 提交于
      The USB host drivers need platform data to be defined on
      pxa168 and pxa910, but the conditionals used in the devices.c
      file only work if the drivers are built-in. This patch
      fixes the definition by changing the #ifdef to #if IS_ENABLED(),
      which works both for built-in and modular Kconfig symbols.
      
      I found one specific problem using 'randconfig' builds, but
      for consistency, this patch uses IS_ENABLED() for all Kconfig
      symbols in these three files.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NHaojian Zhuang <haojian.zhuang@gmail.com>
      35240808
  4. 12 3月, 2014 1 次提交
  5. 05 3月, 2014 1 次提交
    • T
      arm: mmp: Remove pointless fiddling with irq internals · 49f3fbc7
      Thomas Gleixner 提交于
      The pm-mmp2 and pm-pxa910 power management related irq_set_wake
      callbacks fiddle pointlessly with the irq actions for no reason except
      for lack of understanding how the wakeup mechanism works.
      
      On supsend the core disables all interrupts lazily, i.e. it does not
      mask them at the irq controller level. So any interrupt which is
      firing during suspend will mark the corresponding interrupt line as
      pending. Just before the core powers down it checks whether there are
      interrupts pending from interrupt lines which are marked as wakeup
      sources and if so it aborts the suspend and resends the interrupts.
      If there was no interrupt at this point, the cpu goes into suspend
      with these interrupts unmasked.
      
      The IRQF_NO_SUSPEND flag for interrupt actions is a totally different
      mechanism. That allows the device driver to prevent the core from
      disabling the interrupt despite the fact that it is not marked as a
      wakeup source. This has nothing to do with the case at hand. It was
      introduced for special cases where lazy disable is not possible.
      
      Remove the nonsense along with the braindamaged boundary check. The
      core code does NOT call these functions out of boundary.
      
      Add a FIXME comment to an unhandled error path which merily printks
      some useless blurb instead of returning a proper error code.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: arm <linux-arm-kernel@lists.infradead.org>
      Cc: Eric Miao <eric.y.miao@gmail.com>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Link: http://lkml.kernel.org/r/20140223212737.214342433@linutronix.deSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
      49f3fbc7
  6. 21 12月, 2013 1 次提交
  7. 20 12月, 2013 1 次提交
  8. 12 12月, 2013 1 次提交
  9. 22 11月, 2013 1 次提交
  10. 27 9月, 2013 1 次提交
  11. 20 9月, 2013 1 次提交
  12. 30 8月, 2013 1 次提交
  13. 24 8月, 2013 3 次提交
  14. 10 7月, 2013 1 次提交
  15. 19 6月, 2013 1 次提交
  16. 13 6月, 2013 1 次提交
  17. 11 4月, 2013 4 次提交
  18. 02 4月, 2013 2 次提交
  19. 15 3月, 2013 1 次提交
    • H
      ARM: mmp: add platform_device head file in gplugd · e71dc5f7
      Haojian Zhuang 提交于
      arch/arm/mach-mmp/gplugd.c: In function ‘gplugd_init’:
      arch/arm/mach-mmp/gplugd.c:188:2: error: implicit declaration of
      function ‘platform_device_register’
      [-Werror=implicit-function-declaration]
      cc1: some warnings being treated as errors
      make[1]: *** [arch/arm/mach-mmp/gplugd.o] Error 1
      make: *** [arch/arm/mach-mmp] Error 2
      
      So append platform_device.h to resolve build issue.
      Signed-off-by: NHaojian Zhuang <haojian.zhuang@linaro.org>
      e71dc5f7
  20. 22 2月, 2013 2 次提交
  21. 15 1月, 2013 1 次提交
  22. 11 1月, 2013 1 次提交
  23. 04 1月, 2013 1 次提交
    • G
      ARM: drivers: remove __dev* attributes. · 351a102d
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      351a102d
  24. 25 12月, 2012 1 次提交
  25. 21 11月, 2012 1 次提交
  26. 14 10月, 2012 1 次提交
    • R
      ARM: config: sort select statements alphanumerically · b1b3f49c
      Russell King 提交于
      As suggested by Andrew Morton:
      
        This is a pet peeve of mine.  Any time there's a long list of items
        (header file inclusions, kconfig entries, array initalisers, etc) and
        someone wants to add a new item, they *always* go and stick it at the
        end of the list.
      
        Guys, don't do this.  Either put the new item into a randomly-chosen
        position or, probably better, alphanumerically sort the list.
      
      lets sort all our select statements alphanumerically.  This commit was
      created by the following perl:
      
      while (<>) {
      	while (/\\\s*$/) {
      		$_ .= <>;
      	}
      	undef %selects if /^\s*config\s+/;
      	if (/^\s+select\s+(\w+).*/) {
      		if (defined($selects{$1})) {
      			if ($selects{$1} eq $_) {
      				print STDERR "Warning: removing duplicated $1 entry\n";
      			} else {
      				print STDERR "Error: $1 differently selected\n".
      					"\tOld: $selects{$1}\n".
      					"\tNew: $_\n";
      				exit 1;
      			}
      		}
      		$selects{$1} = $_;
      		next;
      	}
      	if (%selects and (/^\s*$/ or /^\s+help/ or /^\s+---help---/ or
      			  /^endif/ or /^endchoice/)) {
      		foreach $k (sort (keys %selects)) {
      			print "$selects{$k}";
      		}
      		undef %selects;
      	}
      	print;
      }
      if (%selects) {
      	foreach $k (sort (keys %selects)) {
      		print "$selects{$k}";
      	}
      }
      
      It found two duplicates:
      
      Warning: removing duplicated S5P_SETUP_MIPIPHY entry
      Warning: removing duplicated HARDIRQS_SW_RESEND entry
      
      and they are identical duplicates, hence the shrinkage in the diffstat
      of two lines.
      
      We have four testers reporting success of this change (Tony, Stephen,
      Linus and Sekhar.)
      Acked-by: NJason Cooper <jason@lakedaemon.net>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Acked-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Acked-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b1b3f49c
  27. 21 9月, 2012 1 次提交
  28. 14 9月, 2012 1 次提交
  29. 08 9月, 2012 5 次提交