[Gta04-owner] [PATCH] usb max current sysfs file
NeilBrown
neilb at suse.de
Fri Mar 23 07:38:05 CET 2012
On Fri, 23 Mar 2012 07:04:35 +0100 Andreas Kemnade <andreas at kemnade.info>
wrote:
> Hi,
>
> here is a patch for kernel 3.2 to change the usb max current.
> It provides a sysfs file here:
> /sys/bus/platform/devices/twl4030_bci/max_current
> /sys/class/power_supply/twl4030_usb/device/max_current (symlinked stuff)
>
> Into this sysfs file you can write and read the maximum usb current in uA.
> The setting stays the same when you disconnect and reconnect the usb plug.
>
> Greetings
> Andreas Kemnade
Cool - thanks!
I'll have a look through it when I get the chance, try it out, and probably
push it out in my 3.2-gta04 branch.
I've started looking at a 3.3-gta04 branch too (current doesn't suspend
unless you rmmod the wifi driver!!) so I'll add it to that too.
What would be awesome is if you could format the patch as described in:
http://linux.yyz.us/patch-format.html
or
Documentation/SubmittingPatches
- that prepares the way for upstream submission.
The "Signed-off-by" is fairly important though it might seem a bit
bureaucratic. It says "I promise that this is my original work" or something
like that. I don't doubt that it is, but requiring explicit statements from
all contributors is a valuable safeguard against claims that might be made
about copyright infringement.
Thanks,
NeilBrown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120323/5c3e8119/attachment.bin>
More information about the Gta04-owner
mailing list