Re: [RFC v5] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

From: Kiran Raparthy
Date: Mon Nov 10 2014 - 22:51:16 EST


Hi Felipe,

On 10 November 2014 20:56, Felipe Balbi <balbi@xxxxxx> wrote:
> Hi,
>
> On Tue, Nov 04, 2014 at 03:30:54PM +0530, Kiran Kumar Raparthy wrote:
>> @@ -1469,6 +1484,7 @@ static int ab8500_usb_probe(struct platform_device *pdev)
>>
>> abx500_usb_link_status_update(ab);
>>
>> + usb_phy_wsource_init(&ab->phy);
>
> instead of adding this to all drivers, you can just it to
> usb_add_phy_dev() and conversely, to usb_remove_phy().
Definitely,Thanks for your input.
Regards,
Kiran
>
> --
> balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/