Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef6a59a2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: Fix func name_to_index logic for CHARGING function"

parents 6c2aa321 c294345c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ static enum android_function_index name_to_func_idx(const char *name)
	if (!strncasecmp("AUDIO_SOURCE", name, FUNC_NAME_LEN))
		return ANDROID_AUDIO_SRC;
	if (!strncasecmp("CHARGING", name, FUNC_NAME_LEN))
		return ANDROID_AUDIO_SRC;
		return ANDROID_CHARGER;
	if (!strncasecmp("MIDI", name, FUNC_NAME_LEN))
		return ANDROID_MIDI;
	if (!strncasecmp("RNDIS_GSI", name, FUNC_NAME_LEN))