1. 07 6月, 2011 3 次提交
  2. 21 5月, 2011 1 次提交
    • L
      sanitize <linux/prefetch.h> usage · 268bb0ce
      Linus Torvalds 提交于
      Commit e66eed65 ("list: remove prefetching from regular list
      iterators") removed the include of prefetch.h from list.h, which
      uncovered several cases that had apparently relied on that rather
      obscure header file dependency.
      
      So this fixes things up a bit, using
      
         grep -L linux/prefetch.h $(git grep -l '[^a-z_]prefetchw*(' -- '*.[ch]')
         grep -L 'prefetchw*(' $(git grep -l 'linux/prefetch.h' -- '*.[ch]')
      
      to guide us in finding files that either need <linux/prefetch.h>
      inclusion, or have it despite not needing it.
      
      There are more of them around (mostly network drivers), but this gets
      many core ones.
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      268bb0ce
  3. 19 5月, 2011 2 次提交
  4. 18 5月, 2011 1 次提交
  5. 14 5月, 2011 6 次提交
  6. 11 5月, 2011 4 次提交
  7. 07 5月, 2011 2 次提交
    • P
      USB: OTG: msm: Implement charger detection · d860852e
      Pavankumar Kondeti 提交于
      Implement good battery algorithm defined in the battery charging V1.2 spec
      for detecting different charging ports.  USB hardware is put into low power
      mode when connected to a dedicated charging port.  vbus_draw and set_power
      methods are implemented for determining the allowed current from Host in
      different states (un-configured/suspend/configured).
      
      The charger block is implemented using vendor specific registers and the
      PHY used in MSM8960(28nm PHY) different from older targets like MSM8x60
      and MSM7x30(45nm PHY).  The PHY vendor and product id registers are not
      implemented in the above chipsets.  Hence PHY type is passed via platform
      data.
      Signed-off-by: NPavankumar Kondeti <pkondeti@codeaurora.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d860852e
    • R
      fsl/usb: Unused endpoint failure for USB gadget · ea437f39
      Ramneek Mehresh 提交于
      Though USB controller works without this most of the time, an issue was faced
      where USB was configured as printer device and it was dropping first
      packet(64 bytes) in full speed mode due to DATA PID mismatch.
      The problem gets resolved once unused endpoints are configured as bulk.
      As per P1020 RM (Table17-31, bits 19-18, bits 3-2) "When only one endpoint
      (RX or TX, but not both) of an endpoint pair is used, the unused endpoint
      should be configured as a bulk type endpoint." So according to the RM,
      this patch is initializing TX and RX endpoints as bulk type
      Signed-off-by: NSuchit Lepcha <Suchit.Lepcha@freescale.com>
      Signed-off-by: NRamneek Mehresh <ramneek.mehresh@freescale.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      ea437f39
  8. 04 5月, 2011 6 次提交
  9. 03 5月, 2011 9 次提交
  10. 30 4月, 2011 6 次提交