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

Commit 3a57aa81 authored by Thomas Pugliese's avatar Thomas Pugliese Committed by Greg Kroah-Hartman
Browse files

wusbcore wire adapter: ignore HWA_NOTIF_BPST_ADJ notifications



No action is needed for the HWA_NOTIF_BPST_ADJ event.  Ignore it instead
of printing a warning to the log since these events can happen dozens of
times per second.

Signed-off-by: default avatarThomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3e6159ee
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -134,9 +134,10 @@ static void wa_notif_dispatch(struct work_struct *ws)
		case WA_NOTIF_TRANSFER:
			wa_handle_notif_xfer(wa, notif_hdr);
			break;
		case HWA_NOTIF_BPST_ADJ:
			break; /* no action needed for BPST ADJ. */
		case DWA_NOTIF_RWAKE:
		case DWA_NOTIF_PORTSTATUS:
		case HWA_NOTIF_BPST_ADJ:
			/* FIXME: unimplemented WA NOTIFs */
			/* fallthru */
		default: