Skip to contentSkip to conversation

USB: serial: cp210x: make line-speed quantisation data driven

PATCH New Greg Kroah-Hartman 1 participant 1 message Jul 18, 2018 USB

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

PATCH 1/5 USB: serial: cp210x: make line-speed quantisation data driven

Quoted 8 lines · Johan Hovold

Older cp210x devices only support a fixed set of line speeds to which a requested speed is mapped. Reimplement this mapping using a table instead of a long if-else construct.

---
 drivers/usb/serial/cp210x.c | 99 +++++++++++++++++++++----------------
 1 file changed, 56 insertions(+), 43 deletions(-)

---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html