1. 21 Jul, 2009 2 commits
    • Magnus Damm's avatar
      ARM: Rework omap suspend_late()/resume_early() · 79ee031f
      Magnus Damm authored
      This patch reworks platform driver power management code
      for omap drivers using late/early legacy callbacks.
      
      The callbacks are converted for CONFIG_SUSPEND like this:
        suspend_late() -> suspend_noirq()
        resume_early() -> resume_noirq()
      Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      Acked-by: default avatarPavel Machek <pavel@ucw.cz>
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      79ee031f
    • Magnus Damm's avatar
      Driver Core: Add platform device arch data V3 · d7aacadd
      Magnus Damm authored
      Allow architecture specific data in struct platform_device V3.
      
      With this patch struct pdev_archdata is added to struct
      platform_device, similar to struct dev_archdata in found in
      struct device. Useful for architecture code that needs to
      keep extra data associated with each platform device.
      
      Struct pdev_archdata is different from dev.platform_data, the
      convention is that dev.platform_data points to driver-specific
      data. It may or may not be required by the driver. The format
      of this depends on driver but is the same across architectures.
      
      The structure pdev_archdata is a place for architecture specific
      data. This data is handled by architecture specific code (for
      example runtime PM), and since it is architecture specific it
      should _never_ be touched by device driver code. Exactly like
      struct dev_archdata but for platform devices.
      
      [rjw: This change is for power management mostly and that's why it
       goes through the suspend tree.]
      Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
      Acked-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      d7aacadd
  2. 20 Jul, 2009 10 commits
  3. 18 Jul, 2009 4 commits
  4. 17 Jul, 2009 23 commits
  5. 16 Jul, 2009 1 commit
    • Mike Frysinger's avatar
      Blackfin: define HARDIRQ_BITS again for now · 6843f405
      Mike Frysinger authored
      The default values of HARDIRQ_BITS and PREEMPT_BITS in common code leads to
      build failure:
      
      In file included from include/linux/interrupt.h:12,
                      from include/linux/kernel_stat.h:8,
                      from arch/blackfin/kernel/asm-offsets.c:32:
      include/linux/hardirq.h:66:2: error: #error PREEMPT_ACTIVE is too low!
      
      So until that gets resolved, just declare our own default value again.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      6843f405