projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cc8ef2
)
V4L/DVB (11822): Siano: smscore - bug fix at get_device_mode
author
Uri Shkolnik
<uris@siano-ms.com>
Sun, 17 May 2009 09:02:46 +0000
(06:02 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 16 Jun 2009 22:14:35 +0000
(19:14 -0300)
Fix bug that cause error log to echo also if success
Signed-off-by: Uri Shkolnik <uris@siano-ms.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/siano/smscoreapi.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/siano/smscoreapi.c
b/drivers/media/dvb/siano/smscoreapi.c
index d400a82daf7d57e644b1a6359437c45c27b5c279..00a1053e5f984e898848bd2b19c82ab04e1db069 100644
(file)
--- a/
drivers/media/dvb/siano/smscoreapi.c
+++ b/
drivers/media/dvb/siano/smscoreapi.c
@@
-905,7
+905,7
@@
int smscore_set_device_mode(struct smscore_device_t *coredev, int mode)
coredev->device_flags &= ~SMS_DEVICE_NOT_READY;
}
- if (rc
!=
0)
+ if (rc
<
0)
sms_err("return error code %d.", rc);
return rc;
}