mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 07:10:27 +00:00
media: vivid: increase max number of allowed
The max number of allowed logical addresses was set to 1 in vivid, for no good reason. This prevented testing with multiple logical addresses for the same CEC device. Increase this number to CEC_MAX_LOG_ADDRS. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
ea3e1c36e3
commit
40c7f9c31d
@ -282,5 +282,5 @@ struct cec_adapter *vivid_cec_alloc_adap(struct vivid_dev *dev,
|
||||
snprintf(name, sizeof(name), "vivid-%03d-vid-%s%d",
|
||||
dev->inst, is_source ? "out" : "cap", idx);
|
||||
return cec_allocate_adapter(&vivid_cec_adap_ops, dev,
|
||||
name, caps, 1);
|
||||
name, caps, CEC_MAX_LOG_ADDRS);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user