media: dst_ca: return a proper error code from CA errors
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 1 Sep 2017 12:21:04 +0000 (08:21 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 5 Sep 2017 10:11:28 +0000 (06:11 -0400)
commit39a7c8a8b5fb679f1f2d77f0f30efe1d14ff0dbc
tree18e5fad7b480372415eac452205820970316c272
parentfed7c4fe8bd0b131cc3f19ba2744061935cdcdb7
media: dst_ca: return a proper error code from CA errors

Right now, on several places, the driver is returning a
"-1" error to userspace, instead of a proper error code.

Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/bt8xx/dst_ca.c