]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Merge tag 'tty-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jan 2024 19:37:24 +0000 (11:37 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jan 2024 19:37:24 +0000 (11:37 -0800)
Pull tty / serial updates from Greg KH:
 "Here is the big set of tty and serial driver changes for 6.8-rc1.

  As usual, Jiri has a bunch of refactoring and cleanups for the tty
  core and drivers in here, along with the usual set of rs485 updates
  (someday this might work properly...)

  Along with those, in here are changes for:

   - sc16is7xx serial driver updates

   - platform driver removal api updates

   - amba-pl011 driver updates

   - tty driver binding updates

   - other small tty/serial driver updates and changes

  All of these have been in linux-next for a while with no reported
  issues"

* tag 'tty-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (197 commits)
  serial: sc16is7xx: refactor EFR lock
  serial: sc16is7xx: reorder code to remove prototype declarations
  serial: sc16is7xx: refactor FIFO access functions to increase commonality
  serial: sc16is7xx: drop unneeded MODULE_ALIAS
  serial: sc16is7xx: replace hardcoded divisor value with BIT() macro
  serial: sc16is7xx: add explicit return for some switch default cases
  serial: sc16is7xx: add macro for max number of UART ports
  serial: sc16is7xx: add driver name to struct uart_driver
  serial: sc16is7xx: use i2c_get_match_data()
  serial: sc16is7xx: use spi_get_device_match_data()
  serial: sc16is7xx: use DECLARE_BITMAP for sc16is7xx_lines bitfield
  serial: sc16is7xx: improve do/while loop in sc16is7xx_irq()
  serial: sc16is7xx: remove obsolete loop in sc16is7xx_port_irq()
  serial: sc16is7xx: set safe default SPI clock frequency
  serial: sc16is7xx: add check for unsupported SPI modes during probe
  serial: sc16is7xx: fix invalid sc16is7xx_lines bitfield in case of probe error
  serial: 8250_exar: Set missing rs485_supported flag
  serial: omap: do not override settings for RS485 support
  serial: core, imx: do not set RS485 enabled if it is not supported
  serial: core: make sure RS485 cannot be enabled when it is not supported
  ...

1  2 
MAINTAINERS
arch/um/drivers/chan_user.c
arch/um/drivers/line.c
drivers/bluetooth/btmtkuart.c
drivers/bluetooth/btnxpuart.c
drivers/greybus/gb-beagleplay.c
drivers/mfd/rave-sp.c
drivers/tty/serial/samsung_tty.c
drivers/tty/tty_io.c
include/linux/tty.h

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
index 203a000a84e341a9b4d3670df6f58ebb09114d8c,d4f4e40ac5d2b351ca22a4fcefc792970900c3a1..3c84fcbda01aa3791aac96c97a6fba9ea6d211ce
@@@ -381,14 -381,19 +381,14 @@@ static void btmtkuart_recv(struct hci_d
                sz_left -= sz_h4;
                p_left += sz_h4;
        }
 -
 -      return 0;
  }
  
- static int btmtkuart_receive_buf(struct serdev_device *serdev, const u8 *data,
-                                size_t count)
+ static ssize_t btmtkuart_receive_buf(struct serdev_device *serdev,
+                                    const u8 *data, size_t count)
  {
        struct btmtkuart_dev *bdev = serdev_device_get_drvdata(serdev);
 -      int err;
  
 -      err = btmtkuart_recv(bdev->hdev, data, count);
 -      if (err < 0)
 -              return err;
 +      btmtkuart_recv(bdev->hdev, data, count);
  
        bdev->hdev->stat.byte_rx += count;
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge