]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit95fedf7187ce8308af7fd28d14e283d28d39e21e
treebbf57b6bac26f1063dd51c69d145bbfc4bac866e
parent97cc0a00dd17da63885f27e6813d82ff28a0ef67
[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