Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

media: uvcvideo: Shorten the transfer size non compliance message

This message is much longer than others and doesn't fit even in a 160
column window when printed, despite providing little real information.

Also replace 'transmission' with 'transfer' because that's the actual
name and 'max packet' with 'limit' because it isn't same thing with
isochronus endpoints. Remove cryptic abbreviations like 'ep'.

Signed-off-by: Michal Pecio <michal.pecio@gmail.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans de Goede <hansg@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>

authored by

Michal Pecio and committed by
Hans Verkuil
c01ae95e eb5ec760

+1 -1
+1 -1
drivers/media/usb/uvc/uvc_video.c
··· 266 266 if (stream->intf->num_altsetting > 1 && 267 267 ctrl->dwMaxPayloadTransferSize > stream->maxpsize) { 268 268 dev_warn_ratelimited(&stream->intf->dev, 269 - "UVC non compliance: the max payload transmission size (%u) exceeds the size of the ep max packet (%u). Using the max size.\n", 269 + "UVC non compliance: Reducing max payload transfer size (%u) to fit endpoint limit (%u).\n", 270 270 ctrl->dwMaxPayloadTransferSize, 271 271 stream->maxpsize); 272 272 ctrl->dwMaxPayloadTransferSize = stream->maxpsize;