]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/media/rc/ir-nec-decoder.c
Merge tag 'v3.2-rc2' into staging/for_v3.3
[karo-tx-linux.git] / drivers / media / rc / ir-nec-decoder.c
index 63ee722dbd0204ea61860971b1c1d0a37d923dff..3c9431a9f62d282d37238ab6089cd63ca73ad77b 100644 (file)
@@ -13,6 +13,7 @@
  */
 
 #include <linux/bitrev.h>
+#include <linux/module.h>
 #include "rc-core-priv.h"
 
 #define NEC_NBITS              32
@@ -193,8 +194,8 @@ static int ir_nec_decode(struct rc_dev *dev, struct ir_raw_event ev)
                return 0;
        }
 
-       IR_dprintk(1, "NEC decode failed at state %d (%uus %s)\n",
-                  data->state, TO_US(ev.duration), TO_STR(ev.pulse));
+       IR_dprintk(1, "NEC decode failed at count %d state %d (%uus %s)\n",
+                  data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse));
        data->state = STATE_INACTIVE;
        return -EINVAL;
 }