diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 86e563b8d6447a81fd924a1e45f9cdb37ebac48f..dd5a3979a4defd1e606669da4ccc91800a0c60c3 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;