mirror of
https://github.com/linux-usb-gadgets/libusbgx.git
synced 2025-07-26 03:15:07 +03:00
uvc: consistently use defines for common strings
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
This commit is contained in:
parent
57dc1d5ae1
commit
61a41862ab
1 changed files with 2 additions and 2 deletions
|
@ -375,11 +375,11 @@ int usbg_f_uvc_set_attrs(usbg_f_uvc *uvcf, const struct usbg_f_uvc_attrs *attrs)
|
|||
ERROR("Error: %d", ret);
|
||||
}
|
||||
|
||||
ret = uvc_set_class(path, "control");
|
||||
ret = uvc_set_class(uvcf, UVC_PATH_CONTROL);
|
||||
if (ret != USBG_SUCCESS)
|
||||
return ret;
|
||||
|
||||
ret = uvc_set_class(path, "streaming");
|
||||
ret = uvc_set_class(uvcf, UVC_PATH_STREAMING);
|
||||
if (ret != USBG_SUCCESS)
|
||||
return ret;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue