Re: [PATCH 1/3] USB: musb: add reset hook to platform ops

2014-04-21 Thread Daniel Mack
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/15/2014 07:21 PM, Felipe Balbi wrote: On Wed, Apr 02, 2014 at 03:21:44PM +0200, Daniel Mack wrote: On 04/02/2014 02:12 PM, Sergei Shtylyov wrote: On 02-04-2014 15:58, Daniel Mack wrote: +static inline void musb_platform_reset(struct musb

Re: [PATCH 1/3] USB: musb: add reset hook to platform ops

2014-04-21 Thread Felipe Balbi
On Mon, Apr 21, 2014 at 06:07:50PM +0200, Daniel Mack wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/15/2014 07:21 PM, Felipe Balbi wrote: On Wed, Apr 02, 2014 at 03:21:44PM +0200, Daniel Mack wrote: On 04/02/2014 02:12 PM, Sergei Shtylyov wrote: On 02-04-2014 15:58, Daniel

[PATCH 1/3] USB: musb: add reset hook to platform ops

2014-04-02 Thread Daniel Mack
Babble interrupts require us to reset the DSPS glue layer. In order to handle all other recovery tasks independently, add a new hook for platform-specific implementations of the actual reset. Signed-off-by: Daniel Mack zon...@gmail.com --- drivers/usb/musb/musb_core.h | 7 +++ 1 file

Re: [PATCH 1/3] USB: musb: add reset hook to platform ops

2014-04-02 Thread Sergei Shtylyov
On 02-04-2014 15:58, Daniel Mack wrote: Babble interrupts require us to reset the DSPS glue layer. In order to handle all other recovery tasks independently, add a new hook for platform-specific implementations of the actual reset. Signed-off-by: Daniel Mack zon...@gmail.com ---

Re: [PATCH 1/3] USB: musb: add reset hook to platform ops

2014-04-02 Thread Sergei Shtylyov
On 02-04-2014 15:58, Daniel Mack wrote: Babble interrupts require us to reset the DSPS glue layer. In order to handle all other recovery tasks independently, add a new hook for platform-specific implementations of the actual reset. Signed-off-by: Daniel Mack zon...@gmail.com ---

Re: [PATCH 1/3] USB: musb: add reset hook to platform ops

2014-04-02 Thread Daniel Mack
On 04/02/2014 02:12 PM, Sergei Shtylyov wrote: On 02-04-2014 15:58, Daniel Mack wrote: +static inline void musb_platform_reset(struct musb *musb) +{ +if (musb-ops-reset) +musb-ops-reset(musb); +} + I think this patch should be merged with the patch #2. It's not good