diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-09 07:30:46 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-23 11:44:08 -0500 |
commit | fdbeb96258141d911ca8ba98931b9024038b84e0 (patch) | |
tree | 48e67807fb83b4e191608848a709e8ec20930dc0 /drivers/media/dvb-core/dvb_net.c | |
parent | 9c171cdf22d1486da1608abd7612fabe2a8262ca (diff) | |
download | op-kernel-dev-fdbeb96258141d911ca8ba98931b9024038b84e0.zip op-kernel-dev-fdbeb96258141d911ca8ba98931b9024038b84e0.tar.gz |
media: dvb: update buffer mmaped flags and frame counter
Now that we have support for a buffer counter and for
error flags, update them at DMX_DQBUF.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-core/dvb_net.c')
-rw-r--r-- | drivers/media/dvb-core/dvb_net.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb-core/dvb_net.c b/drivers/media/dvb-core/dvb_net.c index b6c7eec..ba39f99 100644 --- a/drivers/media/dvb-core/dvb_net.c +++ b/drivers/media/dvb-core/dvb_net.c @@ -883,7 +883,8 @@ static void dvb_net_ule(struct net_device *dev, const u8 *buf, size_t buf_len) static int dvb_net_ts_callback(const u8 *buffer1, size_t buffer1_len, const u8 *buffer2, size_t buffer2_len, - struct dmx_ts_feed *feed) + struct dmx_ts_feed *feed, + u32 *buffer_flags) { struct net_device *dev = feed->priv; @@ -992,7 +993,7 @@ static void dvb_net_sec(struct net_device *dev, static int dvb_net_sec_callback(const u8 *buffer1, size_t buffer1_len, const u8 *buffer2, size_t buffer2_len, - struct dmx_section_filter *filter) + struct dmx_section_filter *filter, u32 *buffer_flags) { struct net_device *dev = filter->priv; |