diff options
author | Grant Grundler <grundler@chromium.org> | 2022-12-12 13:38:57 -0800 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2023-03-10 00:20:43 +0100 |
commit | 14c76b2e75bca4d96e2b85a0c12aa43e84fe3f74 (patch) | |
tree | 7e58d4d2bae548524ac3307584222d4d0494fd51 | |
parent | 3268a4d9b0b85a4382e93bdf7be5400a73db74c5 (diff) | |
download | lwn-14c76b2e75bca4d96e2b85a0c12aa43e84fe3f74.tar.gz lwn-14c76b2e75bca4d96e2b85a0c12aa43e84fe3f74.zip |
power: supply: cros_usbpd: reclassify "default case!" as debug
This doesn't need to be printed every second as an error:
...
<3>[17438.628385] cros-usbpd-charger cros-usbpd-charger.3.auto: Port 1: default case!
<3>[17439.634176] cros-usbpd-charger cros-usbpd-charger.3.auto: Port 1: default case!
<3>[17440.640298] cros-usbpd-charger cros-usbpd-charger.3.auto: Port 1: default case!
...
Reduce priority from ERROR to DEBUG.
Signed-off-by: Grant Grundler <grundler@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
-rw-r--r-- | drivers/power/supply/cros_usbpd-charger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/cros_usbpd-charger.c b/drivers/power/supply/cros_usbpd-charger.c index cadb6a0c2cc7..b6c96376776a 100644 --- a/drivers/power/supply/cros_usbpd-charger.c +++ b/drivers/power/supply/cros_usbpd-charger.c @@ -276,7 +276,7 @@ static int cros_usbpd_charger_get_power_info(struct port_data *port) port->psy_current_max = 0; break; default: - dev_err(dev, "Port %d: default case!\n", port->port_number); + dev_dbg(dev, "Port %d: default case!\n", port->port_number); port->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP; } |