Re: [1/7 v4] usb: otg: enable regulator only on cable/device connect

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

 



Hi,

On Thu, Feb 17, 2011 at 02:20:11PM +0200, Felipe Balbi wrote:
> On Thu, Feb 17, 2011 at 12:06:04PM +0530, Hema HK wrote:
> > From: Kalliguddi, Hema <hemahk@xxxxxx>
> > 
> > Remove the regulator enable while driver loading and enable it only when
> > the cable/device is connected and disable it when disconnected.
> > 
> > Remove the configuration of config_state and config_trans register
> > configuration as these registers are programmed when regulator 
> > enable/disable is called.
> > 
> > Signed-off-by: Hema HK <hemahk@xxxxxx>
> > Cc: Felipe Balbi <balbi@xxxxxx>
> > Cc: Tony Lindgren <tony@xxxxxxxxxxx>
> > Cc: Paul Walmsley <paul@xxxxxxxxx>
> 
> Taken these 7. Tested and it works fine.

actually, this series adds:

drivers/usb/otg/twl6030-usb.c: In function 'twl6030_phy_suspend':
drivers/usb/otg/twl6030-usb.c:183:2: warning: ISO C90 forbids mixed declarations and code
drivers/usb/otg/twl6030-usb.c: At top level:
drivers/usb/otg/twl6030-usb.c:135:12: warning: 'twl6030_set_phy_clk' defined but not used


care to fix and send an incremental diff mentioning which was the
offending patch please.

-- 
balbi
--
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