demux: fix dump data bug. [1/1]

PD#SWPL-115280

Problem:
dump dvr data fail.

Solution:
allow 0x1ffff pid.

Verify:
AH212/S905X4

Change-Id: I3e09b2c1f8d6a6034866364ddeb832502cdcb570
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
This commit is contained in:
hongyu.chen
2023-03-14 18:09:13 +08:00
committed by gerrit autosubmit
parent 2dad155589
commit 2f85fcfbd4
+1 -1
View File
@@ -468,7 +468,7 @@ static int _dmx_ts_feed_set(struct dmx_ts_feed *ts_feed, u16 pid, int ts_type,
pr_dbg("%s pid:0x%0x\n", __func__, pid);
if (pid >= SWDMX_MAX_PID && pid != 0x2000)
if (pid > SWDMX_MAX_PID && pid != 0x2000)
return -EINVAL;
if (mutex_lock_interruptible(demux->pmutex))