diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-10 12:25:48 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:55:51 -0400 |
commit | 7558977a4ade512648bdfcc5f74dfffd7511d46f (patch) | |
tree | 2f90bcbd231fb306071bfe57b628dc31fa8de3a1 /drivers/media/dvb/frontends/drxk_hard.h | |
parent | f1b829704c0b48daff99056932855e71c2814855 (diff) |
[media] drxk: Improve the scu_command error message
Now, it outputs:
[10927.639641] drxk: SCU_RESULT_INVPAR while sending cmd 0x0203 with params:
[10927.646283] drxk: 02 00 00 00 10 00 07 00 03 02 ..........
Better than ERROR -3. This happens with Terratec H5 firmware.
It adds 2 new error conditions, and something useful to track
what the heck is that.
I suspect that the scu_command is dependent on the firmware
revision.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/drxk_hard.h')
-rw-r--r-- | drivers/media/dvb/frontends/drxk_hard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/drxk_hard.h b/drivers/media/dvb/frontends/drxk_hard.h index a20a19d9aff6..a05c32eecdcc 100644 --- a/drivers/media/dvb/frontends/drxk_hard.h +++ b/drivers/media/dvb/frontends/drxk_hard.h | |||
@@ -20,6 +20,8 @@ | |||
20 | #define DRX_SCU_READY 0 | 20 | #define DRX_SCU_READY 0 |
21 | #define DRXK_MAX_WAITTIME (200) | 21 | #define DRXK_MAX_WAITTIME (200) |
22 | #define SCU_RESULT_OK 0 | 22 | #define SCU_RESULT_OK 0 |
23 | #define SCU_RESULT_SIZE -4 | ||
24 | #define SCU_RESULT_INVPAR -3 | ||
23 | #define SCU_RESULT_UNKSTD -2 | 25 | #define SCU_RESULT_UNKSTD -2 |
24 | #define SCU_RESULT_UNKCMD -1 | 26 | #define SCU_RESULT_UNKCMD -1 |
25 | 27 | ||