diff options
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/ngene/ngene-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c index cb5982ed8504..0150dfe7cfbb 100644 --- a/drivers/media/dvb/ngene/ngene-core.c +++ b/drivers/media/dvb/ngene/ngene-core.c | |||
@@ -564,7 +564,7 @@ static void FillTSBuffer(void *Buffer, int Length, u32 Flags) | |||
564 | { | 564 | { |
565 | u32 *ptr = Buffer; | 565 | u32 *ptr = Buffer; |
566 | 566 | ||
567 | memset(Buffer, Length, 0xff); | 567 | memset(Buffer, 0xff, Length); |
568 | while (Length > 0) { | 568 | while (Length > 0) { |
569 | if (Flags & DF_SWAP32) | 569 | if (Flags & DF_SWAP32) |
570 | *ptr = 0x471FFF10; | 570 | *ptr = 0x471FFF10; |