1. 13 6月, 2012 1 次提交
  2. 07 5月, 2012 1 次提交
  3. 05 5月, 2012 1 次提交
  4. 30 4月, 2012 1 次提交
  5. 25 4月, 2012 1 次提交
  6. 19 4月, 2012 1 次提交
  7. 12 4月, 2012 2 次提交
  8. 10 4月, 2012 1 次提交
  9. 03 4月, 2012 1 次提交
  10. 09 3月, 2012 1 次提交
  11. 25 2月, 2012 3 次提交
  12. 16 2月, 2012 1 次提交
    • N
      w1: Fix w1_bq27000 · 9f3519d2
      NeilBrown 提交于
      w1_bq27000 adds a bq27000-battery platform device but does not provide
      platform data for it. This causes the bq27x00 driver to dereference a NULL
      pointer.
      So provide the appropriate platform data.  This requires modifying
      w1_bq27000_read so that it find the w1 device as the parent of the bq device.
      
      Also there is no point exporting w1_bq27000_read as nothing else uses it
      or could use it.  So make it static.
      
      Finally, as there is no way to track how many batteries have been found, and
      we will probably only find one, use an id number of '-1' to assert that this
      is a unique instance.
      Signed-off-by: NNeilBrown <neilb@suse.de>
      Tested-by: NThomas Weber <weber@corscience.de>
      Acked-by: NEvgeniy Polyakov <zbr@ioremap.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9f3519d2
  13. 10 2月, 2012 1 次提交
  14. 10 12月, 2011 1 次提交
  15. 19 11月, 2011 1 次提交
    • G
      USB: convert some miscellanies drivers to use module_usb_driver() · fe748483
      Greg Kroah-Hartman 提交于
      This converts the remaining USB drivers in the kernel to use the
      module_usb_driver() macro which makes the code smaller and a bit
      simpler.
      
      Added bonus is that it removes some unneeded kernel log messages about
      drivers loading and/or unloading.
      
      Cc: Guenter Roeck <guenter.roeck@ericsson.com>
      Cc: Jean Delvare <khali@linux-fr.org>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Till Harbaum <till@harbaum.org>
      Cc: Karsten Keil <isdn@linux-pingi.de>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
      Cc: Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Cc: Steve Glendinning <steve.glendinning@smsc.com>
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Evgeniy Polyakov <zbr@ioremap.net>
      Cc: Wim Van Sebroeck <wim@iguana.be>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jesper Juhl <jj@chaosbits.net>
      Cc: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
      Cc: Jamie Iles <jamie@jamieiles.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      fe748483
  16. 18 11月, 2011 1 次提交
    • M
      W1: w1_therm: release the bus during conversion on externally powered devices · 377195c4
      Maciej Szmigiero 提交于
      w1_therm devices can either be bus powered or externally powered.
      
      When device is bus powered during temperature conversion the bus
      have to be left high to provide necessary power. Some masters also allow
      strong power-up to be enabled in this case.
      Naturally, no communication over bus can occur during that time.
      
      However, if device has external power then there is no such restriction,
      and host can talk to other devices during temperature conversion.
      
      There is command which allows us to check how device is powered,
      this patch uses it to release the bus on externally w1_therm powered devices
      during temperature conversion.
      
      Also, this changes uninterruptible sleeps there into interruptible ones to
      avoid long uninterruptible sleep if w1 subsystem happens to grab bus for
      scan during w1_therm_read().
      Signed-off-by: NMaciej Szmigiero <mhej@o2.pl>
      Acked-by: NEvgeniy Polyakov <zbr@ioremap.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      377195c4
  17. 03 11月, 2011 4 次提交
  18. 01 11月, 2011 2 次提交
  19. 26 8月, 2011 2 次提交
  20. 27 7月, 2011 2 次提交
  21. 09 7月, 2011 1 次提交
    • J
      w1: ds1wm: add a reset recovery parameter · f607e7fc
      Jean-François Dagenais 提交于
      This fixes a regression in 3.0 reported by Paul Parsons regarding the
      removal of the msleep(1) in the ds1wm_reset() function:
      
      : The linux-3.0-rc4 DS1WM 1-wire driver is logging "bus error, retrying"
      : error messages on an HP iPAQ hx4700 PDA (XScale-PXA270):
      :
      : <snip>
      : Driver for 1-wire Dallas network protocol.
      : DS1WM w1 busmaster driver - (c) 2004 Szabolcs Gyurko
      : 1-Wire driver for the DS2760 battery monitor  chip  - (c) 2004-2005, Szabolcs Gyurko
      : ds1wm ds1wm: pass: 1 bus error, retrying
      : ds1wm ds1wm: pass: 2 bus error, retrying
      : ds1wm ds1wm: pass: 3 bus error, retrying
      : ds1wm ds1wm: pass: 4 bus error, retrying
      : ds1wm ds1wm: pass: 5 bus error, retrying
      : ...
      :
      : The visible result is that the battery charging LED is erratic; sometimes
      : it works, mostly it doesn't.
      :
      : The linux-2.6.39 DS1WM 1-wire driver worked OK.  I haven't tried 3.0-rc1,
      : 3.0-rc2, or 3.0-rc3.
      
      This sleep should not be required on normal circuitry provided the
      pull-ups on the bus are correctly adapted to the slaves.  Unfortunately,
      this is not always the case.  The sleep is restored but as a parameter to
      the probe function in the pdata.
      
      [akpm@linux-foundation.org: coding-style fixes]
      Reported-by: NPaul Parsons <lost.distance@yahoo.com>
      Tested-by: NPaul Parsons <lost.distance@yahoo.com>
      Signed-off-by: NJean-François Dagenais <dagenaisj@sonatest.com>
      Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f607e7fc
  22. 16 6月, 2011 1 次提交
  23. 27 5月, 2011 6 次提交
  24. 31 3月, 2011 1 次提交
  25. 29 3月, 2011 1 次提交
  26. 23 3月, 2011 1 次提交