1. 17 7月, 2013 1 次提交
  2. 26 6月, 2013 1 次提交
  3. 29 5月, 2013 2 次提交
  4. 28 5月, 2013 1 次提交
  5. 15 5月, 2013 1 次提交
  6. 02 4月, 2013 1 次提交
  7. 18 3月, 2013 5 次提交
  8. 05 3月, 2013 2 次提交
  9. 25 1月, 2013 3 次提交
  10. 23 1月, 2013 1 次提交
  11. 17 1月, 2013 3 次提交
    • S
      usb: musb: omap2430: fix wrong devm_kzalloc() result check · b37457d8
      Sergei Shtylyov 提交于
      Commit 00a0b1d5 (usb: musb: omap: Add device
      tree support for omap musb glue) assigns result of devm_kzalloc() call to
      the 'config' variable but then checks for NULL the 'data' variable (already
      checked after previous call). Thus we risk a kernel oops further when data
      pointed by 'config' is written to by subsequent of_property_read_u32() calls
      iff the allocation happens to fail...
      Signed-off-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      b37457d8
    • M
      usb: musb: fix dependency on transceiver driver · 25736e0c
      Ming Lei 提交于
      This patch let glue driver return -EPROBE_DEFER if the transceiver
      is not readly, so we can support defer probe on musb to fix the
      below error on 3.7-rc5 if transceiver drivers are built as module:
      
      [   19.052490] unable to find transceiver of type USB2 PHY
      [   19.072052] HS USB OTG: no transceiver configured
      [   19.076995] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -19
      [   19.089355] musb-hdrc: probe of musb-hdrc.0.auto rejects match -19
      [   19.096771] driver: 'musb-omap2430': driver_bound: bound to device 'musb-omap2430'
      [   19.105194] bus: 'platform': really_probe: bound device musb-omap2430 to driver musb-omap2430
      [   19.174407] bus: 'platform': add driver twl4030_usb
      [   19.179656] bus: 'platform': driver_probe_device: matched device twl4030_usb with driver twl4030_usb
      [   19.202270] bus: 'platform': really_probe: probing driver twl4030_usb with device twl4030_usb
      [   19.214172] twl4030_usb twl4030_usb: HW_CONDITIONS 0xc0/192; link 3
      [   19.239624] musb-omap2430 musb-omap2430: musb core is not yet ready
      [   19.246765] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
      [   19.254516] driver: 'twl4030_usb': driver_bound: bound to device 'twl4030_usb'
      [   19.263580] bus: 'platform': really_probe: bound device twl4030_usb to driver twl4030_usb
      
      Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
      Cc: <stable@vger.kernel.org> v3.8
      Signed-off-by: NMing Lei <ming.lei@canonical.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      25736e0c
    • S
      usb: musb: omap2430: kill redundant assignments in omap2430_probe() · 8df4ce75
      Sergei Shtylyov 提交于
      Commit 00a0b1d5 (usb: musb: omap: Add device
      tree support for omap musb glue) added assignments of the 'ret' variable to
      -ENOMEM on *some* error paths of the calls to devm_kzalloc(), while that
      variable was already pre-initialized for to that value, so these assignments
      were completely redundant. Kill them, fixing overindented string, while at it.
      Signed-off-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      8df4ce75
  12. 10 1月, 2013 1 次提交
    • A
      usb: musb: omap2430: fix the readiness check in omap_musb_mailbox · 80ab72e1
      Aaro Koskinen 提交于
      The check in omap_musb_mailbox does not properly check if the module has
      been fully initialized. The patch fixes that, and the kernel panic below:
      
      $ modprobe twl4030-usb
      [   13.924743] twl4030_usb twl4030-usb.33: HW_CONDITIONS 0xe0/224; link 3
      [   13.940307] Unable to handle kernel NULL pointer dereference at virtual address 00000004
      [   13.948883] pgd = ef27c000
      [   13.951751] [00000004] *pgd=af256831, *pte=00000000, *ppte=00000000
      [   13.958374] Internal error: Oops: 17 [#1] ARM
      [   13.962921] Modules linked in: twl4030_usb(+) omap2430 libcomposite
      [   13.969543] CPU: 0    Not tainted  (3.8.0-rc1-n9xx-11758-ge37a37c-dirty #6)
      [   13.976867] PC is at omap_musb_mailbox+0x18/0x54 [omap2430]
      [   13.982727] LR is at twl4030_usb_probe+0x240/0x354 [twl4030_usb]
      [   13.989013] pc : [<bf013b6c>]    lr : [<bf018958>]    psr: 60000013
      [   13.989013] sp : ef273cf0  ip : ef273d08  fp : ef273d04
      [   14.001068] r10: bf01b000  r9 : bf0191d8  r8 : 00000001
      [   14.006530] r7 : 00000000  r6 : ef140e10  r5 : 00000003  r4 : 00000000
      [   14.013397] r3 : bf0142dc  r2 : 00000006  r1 : 00000000  r0 : 00000003
      [   14.020233] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
      [   14.027740] Control: 10c5387d  Table: af27c019  DAC: 00000015
      [   14.033752] Process modprobe (pid: 616, stack limit = 0xef272238)
      [   14.040161] Stack: (0xef273cf0 to 0xef274000)
      [   14.044708] 3ce0:                                     ef254310 00000001 ef273d34 ef273d08
      [   14.053314] 3d00: bf018958 bf013b60 bf0190a4 ef254310 c0101550 c0c3a138 ef140e10 ef140e44
      [   14.061889] 3d20: bf019150 00000001 ef273d44 ef273d38 c019890c bf018724 ef273d64 ef273d48
      [   14.070495] 3d40: c01974fc c01988f8 ef140e10 bf019150 ef140e44 00000000 ef273d84 ef273d68
      [   14.079071] 3d60: c0197728 c019748c c0197694 00000000 bf019150 c0197694 ef273dac ef273d88
      [   14.087677] 3d80: c0195c38 c01976a0 ef03610c ef143eb0 c0128954 ef254780 bf019150 c0b19548
      [   14.096252] 3da0: ef273dbc ef273db0 c0197098 c0195bf0 ef273dec ef273dc0 c0196c98 c0197080
      [   14.104858] 3dc0: bf0190a4 c0b27bc0 ef273dec bf019150 bf019190 c0b27bc0 ef272000 00000001
      [   14.113433] 3de0: ef273e14 ef273df0 c0197c18 c0196b30 ef273f48 bf019190 c0b27bc0 ef272000
      [   14.122039] 3e00: 00000001 bf01b000 ef273e24 ef273e18 c0198b28 c0197ba4 ef273e34 ef273e28
      [   14.130615] 3e20: bf01b014 c0198ae8 ef273e8c ef273e38 c0008918 bf01b00c c004f730 c012ba1c
      [   14.139221] 3e40: ef273e74 00000000 c00505b0 c004f72c 00000000 ef273e60 ef273f48 bf019190
      [   14.147796] 3e60: 00000001 ef273f48 bf019190 00000001 ef286340 00000001 bf0191d8 c0065414
      [   14.156402] 3e80: ef273f44 ef273e90 c0067754 c00087fc bf01919c 00007fff c0064794 00000000
      [   14.164978] 3ea0: ef273ecc f0064000 00000001 ef272000 ef272000 00067f39 bf0192b0 bf01919c
      [   14.173583] 3ec0: ef273f0c ef273ed0 c00a6bf0 c00a53fc ff000000 000000d2 c0067dc8 00000000
      [   14.182159] 3ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
      [   14.190765] 3f00: 00000000 00000000 00000000 00000000 00000000 00000000 ffffffff 00002968
      [   14.199340] 3f20: 00080878 00067f39 00000080 c000e2e8 ef272000 00000000 ef273fa4 ef273f48
      [   14.207946] 3f40: c0067e54 c0066188 f0064000 00002968 f0065530 f0065463 f0065fb0 000012c4
      [   14.216522] 3f60: 00001664 00000000 00000000 00000000 00000014 00000015 0000000c 00000000
      [   14.225128] 3f80: 00000008 00000000 00000000 00080370 00080878 0007422c 00000000 ef273fa8
      [   14.233703] 3fa0: c000e140 c0067d80 00080370 00080878 00080878 00002968 00067f39 00000000
      [   14.242309] 3fc0: 00080370 00080878 0007422c 00000080 00074030 00067f39 bec7aef8 00000000
      [   14.250885] 3fe0: b6f05300 bec7ab68 0000e93c b6f05310 60000010 00080878 af7fe821 af7fec21
      [   14.259460] Backtrace:
      [   14.262054] [<bf013b54>] (omap_musb_mailbox+0x0/0x54 [omap2430]) from [<bf018958>] (twl4030_usb_probe+0x240/0x354 [twl4030_usb])
      [   14.274200]  r5:00000001 r4:ef254310
      [   14.277984] [<bf018718>] (twl4030_usb_probe+0x0/0x354 [twl4030_usb]) from [<c019890c>] (platform_drv_probe+0x20/0x24)
      [   14.289123]  r8:00000001 r7:bf019150 r6:ef140e44 r5:ef140e10 r4:c0c3a138
      [   14.296203] [<c01988ec>] (platform_drv_probe+0x0/0x24) from [<c01974fc>] (driver_probe_device+0x7c/0x214)
      [   14.306243] [<c0197480>] (driver_probe_device+0x0/0x214) from [<c0197728>] (__driver_attach+0x94/0x98)
      [   14.316009]  r7:00000000 r6:ef140e44 r5:bf019150 r4:ef140e10
      [   14.321990] [<c0197694>] (__driver_attach+0x0/0x98) from [<c0195c38>] (bus_for_each_dev+0x54/0x88)
      [   14.331390]  r6:c0197694 r5:bf019150 r4:00000000 r3:c0197694
      [   14.337371] [<c0195be4>] (bus_for_each_dev+0x0/0x88) from [<c0197098>] (driver_attach+0x24/0x28)
      [   14.346588]  r6:c0b19548 r5:bf019150 r4:ef254780
      [   14.351440] [<c0197074>] (driver_attach+0x0/0x28) from [<c0196c98>] (bus_add_driver+0x174/0x244)
      [   14.360687] [<c0196b24>] (bus_add_driver+0x0/0x244) from [<c0197c18>] (driver_register+0x80/0x154)
      [   14.370086]  r8:00000001 r7:ef272000 r6:c0b27bc0 r5:bf019190 r4:bf019150
      [   14.377136] [<c0197b98>] (driver_register+0x0/0x154) from [<c0198b28>] (platform_driver_register+0x4c/0x60)
      [   14.387390] [<c0198adc>] (platform_driver_register+0x0/0x60) from [<bf01b014>] (twl4030_usb_init+0x14/0x1c [twl4030_usb])
      [   14.398895] [<bf01b000>] (twl4030_usb_init+0x0/0x1c [twl4030_usb]) from [<c0008918>] (do_one_initcall+0x128/0x1a8)
      [   14.409790] [<c00087f0>] (do_one_initcall+0x0/0x1a8) from [<c0067754>] (load_module+0x15d8/0x1bf8)
      [   14.419189] [<c006617c>] (load_module+0x0/0x1bf8) from [<c0067e54>] (sys_init_module+0xe0/0xf4)
      [   14.428344] [<c0067d74>] (sys_init_module+0x0/0xf4) from [<c000e140>] (ret_fast_syscall+0x0/0x30)
      [   14.437652]  r6:0007422c r5:00080878 r4:00080370
      [   14.442504] Code: e24cb004 e59f3038 e1a05000 e593401c (e5940004)
      [   14.448944] ---[ end trace dbf47e5bc5ba03c2 ]---
      [   14.453826] Kernel panic - not syncing: Fatal exception
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      80ab72e1
  13. 22 11月, 2012 3 次提交
  14. 06 11月, 2012 1 次提交
    • P
      usb: musb: remove generic_interrupt · baef653a
      Philippe De Swert 提交于
      This patch is based on the discussion of a previous patch to fix an issue
      where the omap2430 musb driver is not working for N9/N950.
      
      Moving all the interrupt handling to the devices. Avoids inclusion of generic
      interrupt and breakage due to sometimes misleading CONFIG options. This makes
      sure usb always works if on of the subdrivers is chosen. Tested on Nokia N9/N950.
      
      Partially clean up CONFIG_SOC_OMAP3430 which is not necessary in the cases
      where I removed it. Also helps with the removal work of those options that
      Tony Lindgren predicted would happen at some point.
      Signed-off-by: NPhilippe De Swert <philippe.deswert@jollamobile.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      baef653a
  15. 01 11月, 2012 1 次提交
    • S
      usb: musb: remove hand-crafted id handling · 2f771164
      Sebastian Andrzej Siewior 提交于
      This replaced the handcrafted id handling by the PLATFORM_DEVID_AUTO
      value which should do the same thing.
      
      This patch probably also fixes ux500 because I did not find the "musbid"
      variable to remove. And we close a tiny-unlikely race window becuase the
      old code gave the id back before device was destroyed in the remove
      case.
      
      [ balbi@ti.com : fixed up two failed hunks when applying patch ]
      
      Cc: B, Ravi <ravibabu@ti.com>
      Cc: Santhapuri, Damodar <damodar.santhapuri@ti.com>
      Cc: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
      Cc: Bob Liu <lliubbo@gmail.com>
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      2f771164
  16. 11 9月, 2012 3 次提交
  17. 20 8月, 2012 1 次提交
  18. 14 8月, 2012 1 次提交
  19. 09 8月, 2012 1 次提交
  20. 03 8月, 2012 1 次提交
  21. 02 7月, 2012 1 次提交
  22. 25 6月, 2012 5 次提交