Re: [PATCH/RFC] ARM: OMAP: MUSB: disable omap_device auto-suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kevin Hilman <khilman@xxxxxx> writes:

> The MUSB driver does not currently implment suspend/resume callbacks,
> seemingly because it does not support cutting power when devices are
> connected in host mode.
>
> Without a proper suspend/resume implementation, the OMAP PM domain
> layer which automatically gates non runtime-suspended devices will
> cause problems in suspend by the drivers ->runtime_suspend() callback
> which will try to cut power.
>
> Fix this by disabling PM domain auto suspending for MUSB until the
> driver can be fixed to properly implement suspend/resume.
>
> Signed-off-by: Kevin Hilman <khilman@xxxxxx>

I guess it's obvious, but should be stated (I'll update the changelog):

Also note that this prevents the CORE powerdomain from hitting retention
(or off), and thus prevents full-chip retention/off whenever USB devices
are attatched, so this should not be considered as a real fix, but a
workaround that at least prevents driver failure.

Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux