From 0471da28f10feb5f3ad58fe8233810cf031b90da Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 2 Apr 2022 21:43:28 +0300 Subject: remove debugging print --- hid-tmt300rs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hid-tmt300rs.c') diff --git a/hid-tmt300rs.c b/hid-tmt300rs.c index d637431..aee30d5 100644 --- a/hid-tmt300rs.c +++ b/hid-tmt300rs.c @@ -1170,7 +1170,6 @@ static int t300rs_switch_mode(void *data, uint16_t mode) if (!t300rs) return -ENODEV; - hid_info(t300rs->hdev, "switch\n"); if(t300rs->mode == mode) /* already in specified mode */ return 0; @@ -1567,7 +1566,7 @@ static int t300rs_wheel_init(struct tmff2_device_entry *tmff2) t300rs->close = t300rs->input_dev->close; /* TODO: PS4 advanced mode? */ - alt_mode = t300rs->mode = (t300rs->hdev->product == TMT300RS_PS3_ADV_ID); + alt_mode = (t300rs->mode = (t300rs->hdev->product == TMT300RS_PS3_ADV_ID)); if ((t300rs->attachment = t300rs_get_attachment(t300rs)) < 0) t300rs->attachment = T300RS_DEFAULT_ATTACHMENT; -- cgit v1.3