Re: [PATCH v2 6/8] usb: gadget: f_acm: add an ioctl to get the current line coding

From: Greg KH
Date: Tue Jun 13 2017 - 05:19:26 EST


On Tue, Jun 13, 2017 at 09:52:12AM +0300, Tal Shorer wrote:
> The user can issue USB_F_GET_LINE_CODING to get the current line coding
> as set by the host (or the default if unset yet).
>
> Signed-off-by: Tal Shorer <tal.shorer@xxxxxxxxx>
> ---
> Documentation/ioctl/ioctl-number.txt | 1 +
> drivers/usb/gadget/function/f_acm.c | 19 +++++++++++++++++++
> include/uapi/linux/usb/f_acm.h | 12 ++++++++++++

Where is this ioctl being called? On the tty device? If so, which one?
The gadget driver's tty device node? Or somewhere else?

confused at the different levels here, sorry.

greg k-h