Message ID | 20220907045840.50540-1-chenzhang@kylinos.cn |
---|---|
State | Superseded |
Headers | show |
Series | usb: gadget: Fix spelling typo in comments | expand |
diff --git a/drivers/usb/gadget/function/f_uac1_legacy.c b/drivers/usb/gadget/function/f_uac1_legacy.c index e2d7f69128a0..e23aed620c4d 100644 --- a/drivers/usb/gadget/function/f_uac1_legacy.c +++ b/drivers/usb/gadget/function/f_uac1_legacy.c @@ -780,7 +780,7 @@ static int generic_get_cmd(struct usb_audio_control *con, u8 cmd) return con->data[cmd]; } -/* Todo: add more control selecotor dynamically */ +/* Todo: add more control selector dynamically */ static int control_selector_init(struct f_audio *audio) { INIT_LIST_HEAD(&audio->cs); diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c index 9849e0c86e23..f9bf3b192cc8 100644 --- a/drivers/usb/gadget/udc/bdc/bdc_core.c +++ b/drivers/usb/gadget/udc/bdc/bdc_core.c @@ -361,7 +361,7 @@ int bdc_reinit(struct bdc *bdc) return ret; } -/* Allocate all the dyanmic memory */ +/* Allocate all the dynamic memory */ static int bdc_mem_alloc(struct bdc *bdc) { u32 page_size;
Fix spelling typo in comments. Reported-by: k2ci <kernel-bot@kylinos.cn> Signed-off-by: chen zhang <chenzhang@kylinos.cn> --- drivers/usb/gadget/function/f_uac1_legacy.c | 2 +- drivers/usb/gadget/udc/bdc/bdc_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)