[media] qt1010: signedness bug in qt1010_init_meas1()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 10 Aug 2012 08:25:03 +0000 (05:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Aug 2012 16:21:06 +0000 (13:21 -0300)
commitffd491fd6f4129c201926edbbd63e2088d82d2fa
treebbf57b6bac26f1063dd51c69d145bbfc4bac866e
parente0e52d4e9f5bce7ea887027c127473eb654a5a04
[media] qt1010: signedness bug in qt1010_init_meas1()

qt1010_init_meas2() returns zero on success and negative error codes on
failure so the return type should be int instead of u8.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/qt1010.c