[media] af9013: add check on af9013_wr_regs() return value
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 15 Jun 2017 20:42:44 +0000 (17:42 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 13:07:37 +0000 (10:07 -0300)
commit88c0530f65e622a96a431b63e3feb707303bc9fc
tree4a0a0b72f074d9cc370b735e093783808006b687
parent6acb191f923582a7cb2f84709a2731b49343f7f0
[media] af9013: add check on af9013_wr_regs() return value

Check return value from call to af9013_wr_regs(), so in case of
error print debug message and return.

Addresses-Coverity-ID: 1227035

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/af9013.c