]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: 8250_omap: Remove custom deprecated baud setting routine
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 22 Jan 2026 10:19:47 +0000 (11:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jan 2026 16:24:54 +0000 (17:24 +0100)
commit1250ebacd4cc59ede613f95e16aba309f364c0f6
treeec14131bd61445fa137a7789e528327cb78d217e
parentb05bebaa60e4e58f36631f41a73716edd8c56d3e
serial: 8250_omap: Remove custom deprecated baud setting routine

As comments mentioned this is old (and actually deprecated) interface
to set custom baud rates. This interface has limitations as it only
allows to set a single opaque value called "custom_divisor". If the HW
needs more complex settings (like fractional divisor) it must somehow
encode this. This is horrid interface that is very driver specific
and not flexible. Meanwhile Linux has established way to set free
baud rate settings via BOTHER [1]. With all this being said, remove
deprecated interface for good.

Link: https://stackoverflow.com/questions/12646324/how-can-i-set-a-custom-baud-rate-on-linux
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260122102349.2395423-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c