diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-15 07:31:56 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-15 07:32:41 -0400 |
commit | a9af5392520c9c30e355562b0bd641d49130284a (patch) | |
tree | e1d65e881452e6449d75303a201bc7971816f91a /drivers/media | |
parent | 9ce5eca7c4c7f9fe451715cb5c96d4d776481a82 (diff) |
[media] cxd2820r_t2: Fix a warning: stream_id is unsigned
drivers/media/dvb-frontends/cxd2820r_t2.c: In function 'cxd2820r_set_frontend_t2':
drivers/media/dvb-frontends/cxd2820r_t2.c:128:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb-frontends/cxd2820r_t2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/cxd2820r_t2.c b/drivers/media/dvb-frontends/cxd2820r_t2.c index c2bfea7551e9..2ba130e245b6 100644 --- a/drivers/media/dvb-frontends/cxd2820r_t2.c +++ b/drivers/media/dvb-frontends/cxd2820r_t2.c | |||
@@ -125,7 +125,7 @@ int cxd2820r_set_frontend_t2(struct dvb_frontend *fe) | |||
125 | buf[2] = ((if_ctl >> 0) & 0xff); | 125 | buf[2] = ((if_ctl >> 0) & 0xff); |
126 | 126 | ||
127 | /* PLP filtering */ | 127 | /* PLP filtering */ |
128 | if (c->stream_id < 0 || c->stream_id > 255) { | 128 | if (c->stream_id > 255) { |
129 | dev_dbg(&priv->i2c->dev, "%s: Disable PLP filtering\n", __func__); | 129 | dev_dbg(&priv->i2c->dev, "%s: Disable PLP filtering\n", __func__); |
130 | ret = cxd2820r_wr_reg(priv, 0x023ad , 0); | 130 | ret = cxd2820r_wr_reg(priv, 0x023ad , 0); |
131 | if (ret) | 131 | if (ret) |