iichid: Soften "Interrupt setup failed" message

Users may interpret the message as a possible hardware error, but the
issue is in fact unimplemented functionality.  Reword the message to
avoid implying it is an error.

Reviewed by:	wulf
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46092

(cherry picked from commit 0ac6cc3fd7473a7a8596fa73322a67fc1d78df53)
This commit is contained in:
Ed Maste 2024-07-23 13:37:15 -04:00
parent 1f645823e0
commit 35957d27ea

View file

@ -1154,7 +1154,7 @@ iichid_attach(device_t dev)
if (sc->irq_res == NULL || error != 0) {
#ifdef IICHID_SAMPLING
device_printf(sc->dev,
"Interrupt setup failed. Fallback to sampling\n");
"Using sampling mode\n");
sc->sampling_rate_slow = IICHID_SAMPLING_RATE_SLOW;
#else
device_printf(sc->dev, "Interrupt setup failed\n");