Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4daa1cea authored by Sriharsha Allenki's avatar Sriharsha Allenki Committed by Vijayavardhan Vennapusa
Browse files

usb: gadget: f_uvc: Fix incorrect frame indexing



Each format descriptor should be followed by frame
descriptors with indexes starting from 1.
The current driver does not reset the frame
index to 1 for every format resulting in
incorrect frame index.
Fix this by resetting the loop variable before
each loop for populating frame descriptors.

Change-Id: I3c3e0ab4808409d059bcbf93d2bb45bbb6efeada
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent ba296efe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment