aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2016-08-10 01:54:41 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-24 15:22:16 -0400
commitd259a5eed91de0e96be62ab51c6c6a812f26f04d (patch)
tree0a38fdf6b935bd64d6d8908ea42a24cce8316401 /drivers/media/dvb-frontends
parentdd9ad4fbf0cecfe9a823d6a18707af394eb9af21 (diff)
[media] drxd_hard: Add missing error code assignment before test
It is likely that checking the result of the 2nd 'read16' is expected here. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/drxk_hard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/drxk_hard.c b/drivers/media/dvb-frontends/drxk_hard.c
index b975da099929..c595adc61c6f 100644
--- a/drivers/media/dvb-frontends/drxk_hard.c
+++ b/drivers/media/dvb-frontends/drxk_hard.c
@@ -6448,7 +6448,7 @@ static int get_strength(struct drxk_state *state, u64 *strength)
6448 return status; 6448 return status;
6449 6449
6450 /* SCU c.o.c. */ 6450 /* SCU c.o.c. */
6451 read16(state, SCU_RAM_AGC_RF_IACCU_HI_CO__A, &scu_coc); 6451 status = read16(state, SCU_RAM_AGC_RF_IACCU_HI_CO__A, &scu_coc);
6452 if (status < 0) 6452 if (status < 0)
6453 return status; 6453 return status;
6454 6454