1. 30 5月, 2015 1 次提交
  2. 22 2月, 2013 1 次提交
    • C
      pcmcia: move unbind/rebind into dev_pm_ops.complete · 42b5dd51
      Christian Lamparter 提交于
      Move the device rebind procedures for cardbus devices from the pm.resume
      into the pm.complete callback.
      
      The reason for moving the code is: "[...] The PM code needs to send
      suspend and resume messages to every device in the right order, and it
      can't do that if new devices are being added at the same time.  [...]"
      
      However the situation really isn't quite that rigid.  In particular,
      adding new children during a resume callback shouldn't cause much of
      problem because the children don't need to be resumed anyway (since they
      were never suspended).  On the other hand, if you do it you will get a
      dev_warn() from the PM core, something like 'parent should not be
      sleeping'.
      
      Still, it is considered bad form and should be avoided if possible."
      
      (Alan Stern's full comment about the topic can
      be found here: <https://lkml.org/lkml/2012/7/10/254>)
      Signed-off-by: NChristian Lamparter <chunkeey@googlemail.com>
      Cc: Dominik Brodowski <linux@dominikbrodowski.net>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Greg KH <greg@kroah.com>
      Acked-by: N"Rafael J. Wysocki" <rjw@sisk.pl>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      42b5dd51
  3. 29 3月, 2012 1 次提交
  4. 14 10月, 2010 1 次提交
  5. 29 9月, 2010 1 次提交
    • D
      pcmcia: convert pcmcia_request_configuration to pcmcia_enable_device · 1ac71e5a
      Dominik Brodowski 提交于
      pcmcia_enable_device() now replaces pcmcia_request_configuration().
      Instead of config_req_t, all necessary flags are either passed as
      a parameter to pcmcia_enable_device(), or (in rare circumstances)
      set in struct pcmcia_device -> flags.
      
      With the last remaining user of include/pcmcia/cs.h gone, remove
      all references.
      
      CC: netdev@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-ide@vger.kernel.org
      CC: linux-usb@vger.kernel.org
      CC: laforge@gnumonks.org
      CC: linux-mtd@lists.infradead.org
      CC: alsa-devel@alsa-project.org
      CC: linux-serial@vger.kernel.org
      CC: Jiri Kosina <jkosina@suse.cz>
      CC: linux-scsi@vger.kernel.org
      Acked-by: Gustavo F. Padovan <padovan@profusion.mobi> (for drivers/bluetooth)
      Tested-by: NWolfram Sang <w.sang@pengutronix.de>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      1ac71e5a
  6. 31 7月, 2010 3 次提交
  7. 10 5月, 2010 1 次提交
  8. 05 5月, 2010 1 次提交
  9. 24 3月, 2010 1 次提交
  10. 18 2月, 2010 8 次提交
  11. 25 1月, 2010 2 次提交
  12. 18 1月, 2010 4 次提交
  13. 08 12月, 2009 1 次提交
    • D
      pcmcia: CodingStyle fixes · 9fea84f4
      Dominik Brodowski 提交于
      Fix several CodingStyle issues in drivers/pcmcia/ . checkpatch.pl no longer
      reports errors in the PCMCIA core. The remaining warnings mostly relate to
      wrong indent -- PCMCIA historically used 4 spaces --, to lines over 80
      characters and to hundreds of typedefs. The cleanup of those will follow
      in the future.
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      9fea84f4
  14. 09 11月, 2009 3 次提交
  15. 03 11月, 2009 1 次提交
  16. 29 9月, 2009 1 次提交
  17. 10 11月, 2008 1 次提交
  18. 02 11月, 2008 1 次提交
  19. 31 8月, 2008 1 次提交
  20. 23 8月, 2008 6 次提交