diff options
| author | chenchangcheng <chenchangcheng@kylinos.cn> | 2025-05-10 14:18:03 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-06-16 08:43:22 +0200 |
| commit | 9764401bf6f8a20eb11c2e78470f20fee91a9ea7 (patch) | |
| tree | 6022ad029f33ef9ee387668723726b1806eaed07 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff) | |
| download | linux-9764401bf6f8a20eb11c2e78470f20fee91a9ea7.tar.gz linux-9764401bf6f8a20eb11c2e78470f20fee91a9ea7.zip | |
media: uvcvideo: Fix bandwidth issue for Alcor camera
Some broken device return wrong dwMaxPayloadTransferSize fields as
follows:
[ 218.632537] uvcvideo: Device requested 2752512 B/frame bandwidth.
[ 218.632598] uvcvideo: No fast enough alt setting for requested bandwidth.
When dwMaxPayloadTransferSize is greater than maxpsize, it will prevent
the camera from starting. So use the bandwidth of maxpsize.
Signed-off-by: chenchangcheng <chenchangcheng@kylinos.cn>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20250510061803.811433-1-ccc194101@163.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
