Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d496c875 authored by Alex Hung's avatar Alex Hung Committed by Darren Hart (VMware)
Browse files

platform/x86: intel-hid: reduce unnecessary messages for normal users



Unsupported events is only useful for developers and does not meaningful
for users. Using dev_dbg makes more sense and reduces noise in kernel
messages.

Signed-off-by: default avatarAlex Hung <alex.hung@canonical.com>
Signed-off-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
parent 6b99e356
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ static void notify_handler(acpi_handle handle, u32 event, void *context)
	if (event != 0xc0) {
		if (!priv->array ||
		    !sparse_keymap_report_event(priv->array, event, 1, true))
			dev_info(&device->dev, "unknown event 0x%x\n", event);
			dev_dbg(&device->dev, "unknown event 0x%x\n", event);
		return;
	}

@@ -230,7 +230,7 @@ static void notify_handler(acpi_handle handle, u32 event, void *context)
	}

	if (!sparse_keymap_report_event(priv->input_dev, ev_index, 1, true))
		dev_info(&device->dev, "unknown event index 0x%llx\n",
		dev_dbg(&device->dev, "unknown event index 0x%llx\n",
			 ev_index);
}