mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 04:54:41 +08:00
Input: sur40 - silence unnecessary noisy debug output
This information is unneccessary, even as debug output. Leave commented out as documentation of the packet ID quirk. Signed-off-by: Martin Kaltenbrunner <modin@yuri.at> Signed-off-by: Florian Echtler <floe@butterbrot.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
435915eae2
commit
335abaea7a
@ -374,10 +374,13 @@ static void sur40_poll(struct input_polled_dev *polldev)
|
|||||||
/*
|
/*
|
||||||
* Sanity check. when video data is also being retrieved, the
|
* Sanity check. when video data is also being retrieved, the
|
||||||
* packet ID will usually increase in the middle of a series
|
* packet ID will usually increase in the middle of a series
|
||||||
* instead of at the end.
|
* instead of at the end. However, the data is still consistent,
|
||||||
*/
|
* so the packet ID is probably just valid for the first packet
|
||||||
|
* in a series.
|
||||||
|
|
||||||
if (packet_id != le32_to_cpu(header->packet_id))
|
if (packet_id != le32_to_cpu(header->packet_id))
|
||||||
dev_dbg(sur40->dev, "packet ID mismatch\n");
|
dev_dbg(sur40->dev, "packet ID mismatch\n");
|
||||||
|
*/
|
||||||
|
|
||||||
packet_blobs = result / sizeof(struct sur40_blob);
|
packet_blobs = result / sizeof(struct sur40_blob);
|
||||||
dev_dbg(sur40->dev, "received %d blobs\n", packet_blobs);
|
dev_dbg(sur40->dev, "received %d blobs\n", packet_blobs);
|
||||||
|
Loading…
Reference in New Issue
Block a user