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]

 



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.

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


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

  Powered by Linux