1
0
Fork 0
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:
Michael Grzeschik 2021-10-12 22:12:36 +02:00
parent 57dc1d5ae1
commit 61a41862ab

View file

@ -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;