]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
usb: musb: tusb6010: fix error path in tusb_probe()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 20 Aug 2012 18:31:41 +0000 (22:31 +0400)
committerFelipe Balbi <balbi@ti.com>
Thu, 6 Sep 2012 16:52:27 +0000 (19:52 +0300)
commitff41aaa3b6c181a713078d8ad96da4ba822de436
tree5bdac50cdce85e62e595aabab289f4039af5dc67
parent3067779b1566ae5fb6af40f03ae874ac47035523
usb: musb: tusb6010: fix error path in tusb_probe()

On platform_device_add() failure, the TUSB6010 glue layer forgets to call
platform_device_put() -- probably due to a typo...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/tusb6010.c