1. 11 4月, 2013 1 次提交
  2. 18 3月, 2013 1 次提交
  3. 25 1月, 2013 1 次提交
  4. 23 1月, 2013 2 次提交
  5. 22 11月, 2012 3 次提交
  6. 03 11月, 2012 1 次提交
    • V
      USB: ohci-exynos: initialize registers pointer earlier · 57465109
      Vincent Palatin 提交于
      In the former code, we have a race condition between the first interrupt
      and the regs field initilization in the usb_hcd structure.
      If the OHCI irq fires before hcd->regs is set, we are getting a null
      pointer dereference in ohci_irq.
      
      When calling usb_add_hcd(), it first executes the reset() callback,
      then enables the ohci interrupt, and finally executes the start()
      callback. So moving the ohci_init() call which actually initializes the
      reg field from start() to reset() should remove the race.
      
      Tested by enabling the external HSIC hub in the bootloader on an exynos5
      machine and booting. With the former code, this triggers an early interrupt
      about 50% of the boots and a subsequent kernel panic in ohci_irq when trying
      to access the registers.
      
      Cc: Olof Johansson <olofj@chromium.org>
      Cc: Doug Anderson <dianders@chromium.org>
      Cc: Arjun.K.V <arjun.kv@samsung.com>
      Cc: Vikas Sajjan <vikas.sajjan@samsung.com>
      Cc: Abhilash Kesavan <a.kesavan@samsung.com>
      Signed-off-by: NVincent Palatin <vpalatin@chromium.org>
      Acked-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      57465109
  7. 25 10月, 2012 2 次提交
  8. 23 10月, 2012 1 次提交
  9. 19 9月, 2012 1 次提交
    • A
      ARM: samsung: move platform_data definitions · 436d42c6
      Arnd Bergmann 提交于
      Platform data for device drivers should be defined in
      include/linux/platform_data/*.h, not in the architecture
      and platform specific directories.
      
      This moves such data out of the samsung include directories
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: NNicolas Pitre <nico@linaro.org>
      Acked-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: "Wolfram Sang (embedded platforms)" <w.sang@pengutronix.de>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Bryan Wu <bryan.wu@canonical.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Sangbeom Kim <sbkim73@samsung.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: linux-samsung-soc@vger.kernel.org
      436d42c6
  10. 17 7月, 2012 1 次提交
  11. 07 7月, 2012 2 次提交
  12. 28 4月, 2012 1 次提交
  13. 25 2月, 2012 1 次提交
  14. 23 12月, 2011 1 次提交