Re: [PATCH v1] RFC: WIP: serial: remove UPF_SDP_CUST & Co

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2018-01-30 at 16:14 +1100, Johan Hovold wrote:
> On Thu, Jan 25, 2018 at 02:08:35PM +0200, Andy Shevchenko wrote:
> > On Wed, 2018-01-24 at 21:35 +0000, David Howells wrote:
> > > Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> > > > Not tested at all.
> > > Your patch doesn't say why or whether this causes userspace API
> > > breakage.  Can
> > > you please include a patch description?
> > 
> > This feature is considered deprecated for many years already. As you
> > can
> > see by the change done here, there are only few drivers that still
> > support that.
> 
> You still need to provide a proper commit message.

It needs more, of course, that's why it's marked as WIP.

I stopped at this point to gather comments like yours, which is very
useful.

> And every serial driver currently supports this through serial core.

What about as first approximation to get rid of custom handling in some
drivers?

Also there are few drivers where some leftover definitions or alike can
be removed.

> Also it looks like you are changing the default speed for a couple of
> ftdi devices, which would need to be addressed.

I *think* I got it and changed code accordingly (see if (custom_divisor)
 condition). Of course it needs to be tested properly.

Btw, feel free to take parts from this and amend.

> And you're removing deprecation warnings that we may want to keep
> around.

Makes sense.

> I ripped out the alt_speed support from usb-serial last year, since
> that
> was indeed broken, but kept the custom divisor support in ftdi for now
> on purpose.

Yes, I noted this.

-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux