]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] drxk: Improve the scu_command error message
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 10 Jul 2011 16:25:48 +0000 (13:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 10 Jul 2011 19:39:02 +0000 (16:39 -0300)
commitb904619f9ad1ce4497918c51120c987909a8422b
tree40f9aa99f9139df5ad073a7a6a084f62684db366
parentbc2b6c25b5b52b9b2513b3ab0eaebed32252fe51
[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>
drivers/media/dvb/frontends/drxk_hard.c
drivers/media/dvb/frontends/drxk_hard.h