hid: jarvis: Supress kernel debug prints in atvr_raw_event()
Mithun Maragiri [Thu, 8 Dec 2016 20:39:48 +0000 (12:39 -0800)]
There is a spew of debug prints when handling debug HID reports
sent by Thunderstrike. This report has debug information about
the current status of TS.

Bug 1852042

Change-Id: Icd7ed09608301a7dcd70c9721392e4a437cbfb18
Signed-off-by: Mithun Maragiri <mmaragiri@nvidia.com>
Reviewed-on: http://git-master/r/1267770
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

drivers/hid/hid-atv-jarvis.c

index b830a03..1251576 100644 (file)
@@ -1655,7 +1655,7 @@ static int atvr_raw_event(struct hid_device *hdev, struct hid_report *report,
                }
                *((char *)(debug_info + size)) = '\0';
                memcpy(debug_info, data, size);
-               pr_info("Report ID 10: PID: %d, report %s", hdev->product,
+               pr_debug("Report ID 10: PID: %d, report %s", hdev->product,
                        (char *)debug_info);
                kfree(debug_info);
        } else if (hdev->product == USB_DEVICE_ID_NVIDIA_THUNDERSTRIKE &&