Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve uvc with import/export of config parameters #64

Merged
merged 3 commits into from
Sep 8, 2022

Conversation

mgrzeschik
Copy link
Contributor

No description provided.

When the one of the supported formats is missing in the
configfs layout, currently the export function will run
into an error. We fix it by just passing 0 if the format
is missing to keep on parsing.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
@pabs3
Copy link
Member

pabs3 commented Jul 6, 2022 via email

The return value of scandir is used in init_frames to iterate over
the elements. The iteration is done over nmb not ret. So this patch
is fixing this to fill the right variable.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
The functions config parameters like maxburst, maxpacket, interval
and function_name are possible to be set by scheme file
as well. This patch adds support to import and export
these variables.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
@mgrzeschik
Copy link
Contributor Author

I fixed the commit typos.

But, from your earlier post:

"Please also compare results for cppcheck, scan-build and GCC -fanalyzer
static analysis runs before and after the commits."

Is there some automatic way to do that?

@pabs3
Copy link
Member

pabs3 commented Jul 20, 2022 via email

@pabs3
Copy link
Member

pabs3 commented Aug 8, 2022

@mgrzeschik in #47 it was proposed to make a new release, do you want to finish including this PR before we do that, or wait until after the release to do that?

@mriesch-wv
Copy link

AFAIAC having this PR in the new release would be great!

Thanks a lot in advance :-)

@mgrzeschik mgrzeschik merged commit b1c8586 into linux-usb-gadgets:master Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants