aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-09 08:36:59 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-11 05:56:49 -0400
commit87bf0e54872097de30752b8dc0f90eff8c53a11d (patch)
treeefdfa5d7aeee5ea63c38d96079337269138a98ef
parentdb5657c5ec47d3a787d4be300f97041ada51f806 (diff)
[media] drx-j: Fix dubious usage of "&" instead of "&&"
Fixes the following warnings: drivers/media/dvb-frontends/drx39xyj/drxj.c:16764:68: warning: dubious: x & !y drivers/media/dvb-frontends/drx39xyj/drxj.c:16778:68: warning: dubious: x & !y drivers/media/dvb-frontends/drx39xyj/drxj.c:16797:68: warning: dubious: x & !y Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r--drivers/media/dvb-frontends/drx39xyj/drxj.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c
index af3b69ce8c16..1e6dab7e5892 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
@@ -16762,12 +16762,12 @@ static int ctrl_set_oob(struct drx_demod_instance *demod, struct drxoob *oob_par
16762 case DRX_OOB_MODE_A: 16762 case DRX_OOB_MODE_A:
16763 if ( 16763 if (
16764 /* signal is transmitted inverted */ 16764 /* signal is transmitted inverted */
16765 ((oob_param->spectrum_inverted == true) & 16765 ((oob_param->spectrum_inverted == true) &&
16766 /* and tuner is not mirroring the signal */ 16766 /* and tuner is not mirroring the signal */
16767 (!mirror_freq_spect_oob)) | 16767 (!mirror_freq_spect_oob)) |
16768 /* or */ 16768 /* or */
16769 /* signal is transmitted noninverted */ 16769 /* signal is transmitted noninverted */
16770 ((oob_param->spectrum_inverted == false) & 16770 ((oob_param->spectrum_inverted == false) &&
16771 /* and tuner is mirroring the signal */ 16771 /* and tuner is mirroring the signal */
16772 (mirror_freq_spect_oob)) 16772 (mirror_freq_spect_oob))
16773 ) 16773 )
@@ -16780,12 +16780,12 @@ static int ctrl_set_oob(struct drx_demod_instance *demod, struct drxoob *oob_par
16780 case DRX_OOB_MODE_B_GRADE_A: 16780 case DRX_OOB_MODE_B_GRADE_A:
16781 if ( 16781 if (
16782 /* signal is transmitted inverted */ 16782 /* signal is transmitted inverted */
16783 ((oob_param->spectrum_inverted == true) & 16783 ((oob_param->spectrum_inverted == true) &&
16784 /* and tuner is not mirroring the signal */ 16784 /* and tuner is not mirroring the signal */
16785 (!mirror_freq_spect_oob)) | 16785 (!mirror_freq_spect_oob)) |
16786 /* or */ 16786 /* or */
16787 /* signal is transmitted noninverted */ 16787 /* signal is transmitted noninverted */
16788 ((oob_param->spectrum_inverted == false) & 16788 ((oob_param->spectrum_inverted == false) &&
16789 /* and tuner is mirroring the signal */ 16789 /* and tuner is mirroring the signal */
16790 (mirror_freq_spect_oob)) 16790 (mirror_freq_spect_oob))
16791 ) 16791 )
@@ -16799,12 +16799,12 @@ static int ctrl_set_oob(struct drx_demod_instance *demod, struct drxoob *oob_par
16799 default: 16799 default:
16800 if ( 16800 if (
16801 /* signal is transmitted inverted */ 16801 /* signal is transmitted inverted */
16802 ((oob_param->spectrum_inverted == true) & 16802 ((oob_param->spectrum_inverted == true) &&
16803 /* and tuner is not mirroring the signal */ 16803 /* and tuner is not mirroring the signal */
16804 (!mirror_freq_spect_oob)) | 16804 (!mirror_freq_spect_oob)) |
16805 /* or */ 16805 /* or */
16806 /* signal is transmitted noninverted */ 16806 /* signal is transmitted noninverted */
16807 ((oob_param->spectrum_inverted == false) & 16807 ((oob_param->spectrum_inverted == false) &&
16808 /* and tuner is mirroring the signal */ 16808 /* and tuner is mirroring the signal */
16809 (mirror_freq_spect_oob)) 16809 (mirror_freq_spect_oob))
16810 ) 16810 )