On Wed, Feb 25, 2009 at 12:55:41PM +0100, ext Kim Kyuwon wrote:
> +int twl4030_usb_suspend(struct platform_device *pdev, pm_message_t state)
> +{
> + struct twl4030_usb *twl = platform_get_drvdata(pdev);
> +
> + if (!twl->suspend_enabled)
> + return 0;
> +
> + twl->otg.set_suspend(&twl->otg, 1);
otg_set_suspend(otg, 1);
> +
> + return 0;
> +}
> +
> +int twl4030_usb_resume(struct platform_device *pdev)
> +{
> + struct twl4030_usb *twl = platform_get_drvdata(pdev);
> +
> + twl->otg.set_suspend(&twl->otg, 0);
otg_set_suspend(otg, 0);
--
balbi
--
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