Re: [PATCH] usb: musb dsps: fix pdev cast in suspend/resume

2013-08-21 Thread Daniel Mack
On 13.08.2013 14:40, Daniel Mack wrote: dsps_suspend() and dsps_resume() are called with the device that has the glue assigned as drvdata. Using dev-parent seems wrong and causes a NULL pointer exception on an AM33xx board. The code was introduced by commit c68bb4c6 (usb: musb: dsps: control

[PATCH] usb: musb dsps: fix pdev cast in suspend/resume

2013-08-13 Thread Daniel Mack
dsps_suspend() and dsps_resume() are called with the device that has the glue assigned as drvdata. Using dev-parent seems wrong and causes a NULL pointer exception on an AM33xx board. The code was introduced by commit c68bb4c6 (usb: musb: dsps: control module handling (quirk)) but I wonder

Re: [PATCH] usb: musb dsps: fix pdev cast in suspend/resume

2013-08-13 Thread Felipe Balbi
On Tue, Aug 13, 2013 at 02:40:30PM +0200, Daniel Mack wrote: dsps_suspend() and dsps_resume() are called with the device that has the glue assigned as drvdata. Using dev-parent seems wrong and causes a NULL pointer exception on an AM33xx board. The code was introduced by commit c68bb4c6