usb: musb: omap: fix crash when musb glue (omap) gets initialized
PATCH RESEND 1/1 usb: musb: omap: fix crash when musb glue (omap) gets initialized
Upstream Commit: 7acc6197b76edd0b932a7cbcc6cfad0a8a87f026 Upstream Kernel Tag: v2.6.38-rc5-94-g7acc619
pm_runtime_enable is being called after omap2430_musb_init. Hence pm_runtime_get_sync in omap2430_musb_init does not have any effect (does not enable clocks) resulting in a crash during register access. It is fixed here.
---
Tested MUSB in 4430SDP.
drivers/usb/musb/omap2430.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/usb/musb/omap2430.c +2 -2
@@ -452,14 +452,14 @@ static int __devinit omap2430_probe(struct platform_device *pdev) goto err2; } +pm_runtime_enable (&pdev->dev); + ret =platform_device_add (musb);if (ret) {dev_err (&pdev->dev,"failed to register musb device\n" ); goto err2; } -pm_runtime_enable (&pdev->dev); -return 0 ; err2:
Signature · 1 line
1.7.0.4
Greg KH
maintainerQuoted 2 lines · Kishon Vijay Abraham I
Upstream Commit:
7acc6197b76edd0b932a7cbcc6cfad0a8a87f026Upstream Kernel Tag: v2.6.38-rc5-94-g7acc619
<snip>
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.
</formletter>
Hi Greg,
Quoted 6 lines · Greg KH
Quoted 2 lines · Kishon Vijay Abraham I
Upstream Commit:
7acc6197b76edd0b932a7cbcc6cfad0a8a87f026Upstream Kernel Tag: v2.6.38-rc5-94-g7acc619<snip>
Quoted 7 lines
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read
Documentation/stable_kernel_rules.txtfor how to do this properly.</formletter>
I really couldn't get what I'm missing after reading the Documentation/stable_kernel_rules.txt :-( Can you kindly let me know what I'm missing here?
Thanks
Kishon
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Greg KH
maintainerQuoted 15 lines · KISHON VIJAY
Hi Greg,
Quoted 12 lines · Greg KH
Quoted 2 lines · Kishon Vijay Abraham I
Upstream Commit:
7acc6197b76edd0b932a7cbcc6cfad0a8a87f026Upstream Kernel Tag: v2.6.38-rc5-94-g7acc619<snip>
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read
Documentation/stable_kernel_rules.txtfor how to do this properly.
Quoted 5 lines
Quoted 1 line
</formletter>
I really couldn't get what I'm missing after reading the
Documentation/stable_kernel_rules.txt:-( Can you kindly let me know what I'm missing here?
Read the version of that file in the 3.3 kernel release, it should explain what you are forgetting (hint, do you really want it applied to the 2.4 kernel tree?)
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Greg,
Quoted 18 lines · Greg KH
Quoted 17 lines · KISHON VIJAY
Hi Greg,
Quoted 13 lines · Greg KH
Quoted 2 lines · Kishon Vijay Abraham I
Upstream Commit:
7acc6197b76edd0b932a7cbcc6cfad0a8a87f026Upstream Kernel Tag: v2.6.38-rc5-94-g7acc619<snip>
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read
Documentation/stable_kernel_rules.txtfor how to do this properly.</formletter>
Quoted 7 lines
Quoted 3 lines
I really couldn't get what I'm missing after reading the
Documentation/stable_kernel_rules.txt:-( Can you kindly let me know what I'm missing here?Read the version of that file in the 3.3 kernel release, it should explain what you are forgetting (hint, do you really want it applied to the 2.4 kernel tree?)
I actually intended this patch to be back-ported to previous releases which will have the issue. I'm not sure if it is right?
Thanks
Kishon
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Greg KH
maintainerQuoted 25 lines · KISHON VIJAY
Hi Greg,
Quoted 22 lines · Greg KH
Quoted 20 lines · KISHON VIJAY
Hi Greg,
Quoted 6 lines · Greg KH
Quoted 2 lines · Kishon Vijay Abraham I
Upstream Commit:
7acc6197b76edd0b932a7cbcc6cfad0a8a87f026Upstream Kernel Tag: v2.6.38-rc5-94-g7acc619<snip>
Quoted 7 lines
<formletter>
This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read
Documentation/stable_kernel_rules.txtfor how to do this properly.</formletter>
I really couldn't get what I'm missing after reading the
Documentation/stable_kernel_rules.txt:-( Can you kindly let me know what I'm missing here?
Quoted 6 lines
Quoted 3 lines
Read the version of that file in the 3.3 kernel release, it should explain what you are forgetting (hint, do you really want it applied to the 2.4 kernel tree?)
I actually intended this patch to be back-ported to previous releases which will have the issue. I'm not sure if it is right?
And what releases are those?
Hint, you need to tell us exactly what trees you want your patch applied to, otherwise we will just guess, and usually, incorrectly.
Be specific.
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html