X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fhid%2Fhid-sony.c;h=dd5a3979a4defd1e606669da4ccc91800a0c60c3;hb=249d0fa9d59b6165ecc224720d9ce9b7267cf1b8;hp=86e563b8d6447a81fd924a1e45f9cdb37ebac48f;hpb=eff2502801e9a3a34882c6bd720470d65394522e;p=linux-2.6-omap-h63xx.git diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 86e563b8d64..dd5a3979a4d 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c @@ -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;