Commit 774f78cf authored by Ken L Johnson's avatar Ken L Johnson Committed by Greg Kroah-Hartman

USB: berry_charge: correct dbg string for second magic command

I was testing the berry_charge module with my Blackberry 8700c and had
great success, thanks. Looking at the code for my own learning I noticed
the following cut and paste error... just a nit.
Signed-off-by: default avatarKen L Johnson <ken@novell.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5ec71db5
...@@ -69,7 +69,7 @@ static int magic_charge(struct usb_device *udev) ...@@ -69,7 +69,7 @@ static int magic_charge(struct usb_device *udev)
return retval; return retval;
} }
dbg(&udev->dev, "Sending first magic command\n"); dbg(&udev->dev, "Sending second magic command\n");
retval = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), retval = usb_control_msg(udev, usb_rcvctrlpipe(udev, 0),
0xa2, 0x40, 0, 1, dummy_buffer, 0, 100); 0xa2, 0x40, 0, 1, dummy_buffer, 0, 100);
if (retval != 0) { if (retval != 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment