1. 05 8月, 2015 1 次提交
  2. 29 7月, 2015 2 次提交
  3. 31 5月, 2015 2 次提交
  4. 26 5月, 2015 5 次提交
  5. 22 5月, 2015 1 次提交
    • A
      usb: renesas_usbhs: avoid uninitialized variable use · 672bfdaa
      Arnd Bergmann 提交于
      After the renesas_usbhs driver is enabled in ARM multi_v7_defconfig,
      we now get a new warning:
      
      renesas_usbhs/mod.c: In function 'usbhs_interrupt':
      renesas_usbhs/mod.c:246:7: warning: 'intenb1' may be used uninitialized in this function [-Wmaybe-uninitialized]
      
      gcc correctly points to a problem here, for the case that the
      device is in host mode, we use the intenb1 variable without
      having assigned it first. The state->intsts1 has a similar
      problem, but gcc cannot know that.
      
      This avoids the problem by initializing both sides of the
      comparison to zero when we don't read them from the respective
      registers.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 88a25e02 ("usb: renesas_usbhs: Add access control for INTSTS1 and INTENB1 register")
      Acked-by: NYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      672bfdaa
  6. 14 5月, 2015 1 次提交
  7. 29 4月, 2015 1 次提交
  8. 28 4月, 2015 1 次提交
  9. 04 4月, 2015 1 次提交
  10. 20 3月, 2015 1 次提交
  11. 13 3月, 2015 3 次提交
  12. 23 2月, 2015 1 次提交
    • A
      usb: renesas: fix extcon dependency · eed97ef3
      Arnd Bergmann 提交于
      The renesas usbhs driver calls extcon_get_edev_by_phandle(), which
      is defined in drivers/extcon/extcon-class.c, and that can be a
      loadable module. If the extcon-class support is disabled, usbhs
      will work correctly for all devices that do not need extcon.
      
      However, if extcon-class is a loadable module, and usbhs is
      built-in, the kernel fails to link. In order to solve that,
      we need a Kconfig dependency that allows extcon to be disabled
      but does not allow usbhs built-in if extcon is a module.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      eed97ef3
  13. 31 1月, 2015 1 次提交
  14. 30 1月, 2015 1 次提交
  15. 27 1月, 2015 3 次提交
  16. 25 1月, 2015 1 次提交
  17. 13 1月, 2015 3 次提交
  18. 12 11月, 2014 4 次提交
  19. 08 11月, 2014 1 次提交
  20. 06 11月, 2014 4 次提交
  21. 04 11月, 2014 2 次提交