]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/hid/hid-sony.c
omap_hsmmc: card detect irq bugfix
[linux-2.6-omap-h63xx.git] / drivers / hid / hid-sony.c
index 86e563b8d6447a81fd924a1e45f9cdb37ebac48f..dd5a3979a4defd1e606669da4ccc91800a0c60c3 100644 (file)
@@ -102,7 +102,7 @@ static int sony_probe(struct hid_device *hdev, const struct hid_device_id *id)
        }
 
        ret = sony_set_operational(hdev);
-       if (ret)
+       if (ret < 0)
                goto err_stop;
 
        return 0;