This is a note to let you know that I've just added the patch titled

    usb: otg: ab8500-usb: make probe() work again

to my usb git tree which can be found at
    git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-next branch.

The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)

The patch will also will be merged in the next major kernel release
during the merge window.

If you have any questions about this process, please let me know.


>From 5f0b3f9998ceca8414dfb7d0dba69209f11b44af Mon Sep 17 00:00:00 2001
From: Dan Carpenter <[email protected]>
Date: Fri, 2 Mar 2012 11:08:14 +0300
Subject: usb: otg: ab8500-usb: make probe() work again

The probe() function will always fail because we're testing the wrong
variable.

Signed-off-by: Dan Carpenter <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
 drivers/usb/otg/ab8500-usb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/otg/ab8500-usb.c b/drivers/usb/otg/ab8500-usb.c
index e6371ff..a84af67 100644
--- a/drivers/usb/otg/ab8500-usb.c
+++ b/drivers/usb/otg/ab8500-usb.c
@@ -489,7 +489,7 @@ static int __devinit ab8500_usb_probe(struct 
platform_device *pdev)
                return -ENOMEM;
 
        otg = kzalloc(sizeof *otg, GFP_KERNEL);
-       if (!ab->phy.otg) {
+       if (!otg) {
                kfree(ab);
                return -ENOMEM;
        }
-- 
1.7.9


--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to