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

Commit f5894158 authored by Gustavo Solaira's avatar Gustavo Solaira
Browse files

usb: misc: ks_bridge: Fix support for 901F PID



Add a missing switch-clause for 0x901F to
avoid enumeration failure.

Change-Id: I909cf4ac9a65c0fa02daa03654a2f81fa17c38a2
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent 1e1f5e57
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012-2014, 2017-2018, Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2014, 2017-2019, Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -699,6 +699,7 @@ ksb_usb_probe(struct usb_interface *ifc, const struct usb_device_id *id)
	case 0x9025:
	case 0x9091:
	case 0x901D:
	case 0x901F:
		/* 1-1 mapping between ksb and udev port which starts with 1 */
		ksb_port_num = udev->portnum - 1;
		dev_dbg(&udev->dev, "ifc_count: %u, port_num:%u\n", ifc_count,