usb: typec: ucsi: Don't truncate the reads
That may silently corrupt the data. Instead, failing attempts to read more than the interface can handle. Signed-off-by:Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by:
Abhishek Pandit-Subedi <abhishekpandit@chromium.org> Link: https://lore.kernel.org/r/20240816135859.3499351-3-heikki.krogerus@linux.intel.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please sign in to comment