From: a17671 Date: Tue, 8 Jan 2019 01:35:45 +0000 (+0800) Subject: usb:f_midi:Correct the midi function name for binding X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3bd6a97302184fb4afd51222d8af532b3272e743;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git usb:f_midi:Correct the midi function name for binding The f_midi function name has to be midi Otherwise, the rc file will have problem of binding the function Change-Id: I2b3e61f70fb9b260731eabd5fe6bf10da72c540a Signed-off-by: a17671 Reviewed-on: https://gerrit.mot.com/1290747 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Wei Deng Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- diff --git a/drivers/usb/gadget/function/f_midi.c b/drivers/usb/gadget/function/f_midi.c index f0a8e66e7a9c..ec9895d83de9 100644 --- a/drivers/usb/gadget/function/f_midi.c +++ b/drivers/usb/gadget/function/f_midi.c @@ -1387,7 +1387,7 @@ static struct usb_function *f_midi_alloc(struct usb_function_instance *fi) ++opts->refcnt; mutex_unlock(&opts->lock); - midi->func.name = "gmidi function"; + midi->func.name = "midi"; midi->func.bind = f_midi_bind; midi->func.unbind = f_midi_unbind; midi->func.set_alt = f_midi_set_alt;