diff options
| author | Jonathan Marek <[email protected]> | 2024-10-07 23:59:35 +0000 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2024-11-16 03:32:36 +0000 |
| commit | 06c59d97f63c1b8af521fa5aef8a716fb988b285 (patch) | |
| tree | 7cb53755e5a2922a46dd3c46266e1c21dec8e786 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | Linux 6.12-rc1 (diff) | |
| download | kernel-06c59d97f63c1b8af521fa5aef8a716fb988b285.tar.gz kernel-06c59d97f63c1b8af521fa5aef8a716fb988b285.zip | |
rpmsg: glink: use only lower 16-bits of param2 for CMD_OPEN name length
The name len field of the CMD_OPEN packet is only 16-bits and the upper
16-bits of "param2" are a different "prio" field, which can be nonzero in
certain situations, and CMD_OPEN packets can be unexpectedly dropped
because of this.
Fix this by masking out the upper 16 bits of param2.
Fixes: b4f8e52b89f6 ("rpmsg: Introduce Qualcomm RPM glink driver")
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions
