summaryrefslogtreecommitdiff
path: root/drivers/media/pci/ttpci/budget-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-20 01:57:54 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-10-11 20:10:59 +0300
commit2c53275c1edafdb1c404071940de0a7de47c0bbb (patch)
tree3c643eac63c2647659ecdb5f58c3e15448ab3411 /drivers/media/pci/ttpci/budget-core.c
parent392cc7afbb4d8a649636f7fdd99ed2278f08457e (diff)
downloadlinux-2c53275c1edafdb1c404071940de0a7de47c0bbb.tar.xz
media: dvb_demux: dvb_demux_feed.pusi_seen is boolean
Instead of using an integer to represent it, use boolean, as this better describes what this field really means. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/ttpci/budget-core.c')
-rw-r--r--drivers/media/pci/ttpci/budget-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/ttpci/budget-core.c b/drivers/media/pci/ttpci/budget-core.c
index 97499b2af714..b3dc45b91101 100644
--- a/drivers/media/pci/ttpci/budget-core.c
+++ b/drivers/media/pci/ttpci/budget-core.c
@@ -330,7 +330,7 @@ static int budget_start_feed(struct dvb_demux_feed *feed)
return -EINVAL;
spin_lock(&budget->feedlock);
- feed->pusi_seen = 0; /* have a clean section start */
+ feed->pusi_seen = false; /* have a clean section start */
if (budget->feeding++ == 0)
status = start_ts_capture(budget);
spin_unlock(&budget->feedlock);