]> git.karo-electronics.de Git - linux-beck.git/commitdiff
wusbcore wire adapter: ignore HWA_NOTIF_BPST_ADJ notifications
authorThomas Pugliese <thomas.pugliese@gmail.com>
Thu, 6 Jun 2013 19:39:23 +0000 (14:39 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 20:11:14 +0000 (13:11 -0700)
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: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/wusbcore/wa-nep.c

index f67f7f1e6df9502680868d2bfa5e0493df0cf36d..ada4e08706238780d4695008284a78988e628301 100644 (file)
@@ -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: