summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/ngene/ngene-dvb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/ngene/ngene-dvb.c')
-rw-r--r--drivers/media/dvb/ngene/ngene-dvb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/dvb/ngene/ngene-dvb.c b/drivers/media/dvb/ngene/ngene-dvb.c
index 3832e5983c19..8bb159370c70 100644
--- a/drivers/media/dvb/ngene/ngene-dvb.c
+++ b/drivers/media/dvb/ngene/ngene-dvb.c
@@ -65,8 +65,11 @@ void *tsin_exchange(void *priv, void *buf, u32 len, u32 clock, u32 flags)
struct ngene_channel *chan = priv;
- if (chan->users > 0)
+ if (chan->users > 0) {
+ if (flags & DF_SWAP32)
+ swap_buffer(buf, len);
dvb_dmx_swfilter(&chan->demux, buf, len);
+ }
return NULL;
}