[media] tvp5150: signedness bug in tvp5150_selmux()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Jul 2012 13:47:28 +0000 (10:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 23:22:38 +0000 (20:22 -0300)
commitafcc8e8c3474e5771ebdd49fe4f1c2ec1df997e7
treefd9f3addb7ec1e3b206688d12eb58626c7195599
parent79ef87edea252c3325f0be8aed684db72dc7e46c
[media] tvp5150: signedness bug in tvp5150_selmux()

tvp5150_read() returns negative error codes so this needs to be an int
for the error handling to work.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tvp5150.c