commit | 7c72e19dcf7f9a49eedab328ebf7c0a45d76716d | [log] [tgz] |
---|---|---|
author | Jesper Juhl <jj@chaosbits.net> | Fri Oct 12 19:16:37 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sun Oct 28 16:41:54 2012 -0200 |
tree | c908d016baeb7b71035acc92ca73a3be3861412d | |
parent | 56411c0f1eec7495bcf1fd6b83a51bb57be608d4 [diff] |
[media] stk1160: Check return value of stk1160_read_reg() in stk1160_i2c_read_reg() Remember to collect the exit status from 'stk1160_read_reg()' in 'rc' before testing it for less than zero. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Acked-by: Ezequiel Garcia <elezegarcia@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>