]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: power availability check for berry_charge
authorOliver Neukum <oliver@neukum.org>
Fri, 1 Feb 2008 21:44:40 +0000 (22:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 17:59:51 +0000 (09:59 -0800)
commitb404299f6bfdf5aa7315e521b570e33f082b2f9e
tree1af44c227e952a47c386d4b5d2b9b50ad1de00c8
parentff8973d9468ea07e61ef492dd8c806a6e1a76ac1
USB: power availability check for berry_charge

this introduces a sanity check into berry_charge to give up before
damage is done if we lack juice.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/berry_charge.c