Re: Phy and gpio_vbus breakage in 3.9

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

 



On Thu, May 09, 2013 at 01:22:00AM +0200, Robert Jarzmik wrote:
> Robert Jarzmik <robert.jarzmik@xxxxxxx> writes:
> 
> > Hi guys,
> 
> I almost forgot.
> This simple patch fixes the issue, but I haven't thought it through if it is the
> proper fix :
> 
> diff --git a/drivers/usb/otg/gpio_vbus.c b/drivers/usb/otg/gpio_vbus.c
> index a7d4ac5..f65615c 100644
> --- a/drivers/usb/otg/gpio_vbus.c
> +++ b/drivers/usb/otg/gpio_vbus.c
> @@ -264,6 +264,7 @@ static int __init gpio_vbus_probe(struct platform_device *pdev)
>  	gpio_vbus->phy.set_power = gpio_vbus_set_power;
>  	gpio_vbus->phy.set_suspend = gpio_vbus_set_suspend;
>  	gpio_vbus->phy.state = OTG_STATE_UNDEFINED;
> +	gpio_vbus->phy.dev = &pdev->dev;

it is, please send a proper patch.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux