[media] em28xx: fix+improve the register (usb control message) debugging
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Wed, 26 Apr 2017 16:43:12 +0000 (13:43 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 10:31:40 +0000 (07:31 -0300)
commit603c33a3216735119aed6dd4dbac89a214c0fb4e
treec41ec861ead16a0b86b54f6fec59a69d1050e0cb
parent017725c702ebd30abd42b55768869f3900d8909b
[media] em28xx: fix+improve the register (usb control message) debugging

- avoid duplicate debugging messages in em28xx_read_reg_req_len()
- do not describe successful usb transfers in em28xx_read_reg_len()
  as "failed"
- report errors in em28xx_write_regs_req(), too
- print the usb error numbers, too

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/em28xx/em28xx-core.c