Commit 6edae4fa authored by Neill Kapron's avatar Neill Kapron Committed by Carlos Llamas
Browse files

ANDROID: usb: gadget: f_midi: Create f_midi device in android_usb class



Android frameworks rely on the sound device configuration information
provided by this change.

Creates a device file for f_midi which, when read, prints the alsa card
number and device identifier in the format of "<number> <device>". If
the device is not configured, "-1 -1". is returned.

Bug: 120441124
Bug: 317149848
Signed-off-by: default avatarNeill Kapron <nkapron@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:5157908192488f762877e785131f56664fbcff61

)
Merged-In: Ic1dfc6b61f94a6ac2f78e41edf4f87730f73e00e
Change-Id: Ic1dfc6b61f94a6ac2f78e41edf4f87730f73e00e
[nkapron: resolve merge conflict in drivers/usb/gadget/Kconfig]
Signed-off-by: default avatarNeill Kapron <nkapron@google.com>
parent c6f183ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment