[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180719120705.4a2fde04@alans-desktop>
Date: Thu, 19 Jul 2018 12:07:05 +0100
From: Alan Cox <gnomes@...rguk.ukuu.org.uk>
To: Ludovic Desroches <ludovic.desroches@...rochip.com>
Cc: Greg KH <gregkh@...uxfoundation.org>,
<linux-serial@...r.kernel.org>, <linux-arch@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <jslaby@...e.com>,
<arnd@...db.de>, <richard.genoud@...il.com>,
<nicolas.ferre@...rochip.com>, <alexandre.belloni@...tlin.com>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] tty/serial_core: add ISO7816 infrastructure
> >
> > > + if (!port->iso7816_config)
> > > + return -ENOIOCTLCMD;
> >
> > Why this error value?
> >
>
> It was a mimic of RS485.
Which is what you want - it means the upper tty layer knows to offer the
ioctl to other places and then return appropriately.
Alan
Powered by blists - more mailing lists