Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

serial: sc16is7xx: improve comments about variants

Replace 740/750/760 with generic terms like 74x/75x/76x to account for
variants like 741, 752 and 762.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Reviewed-by: Lech Perczak <lech.perczak@camlingroup.com>
Link: https://lore.kernel.org/r/20230905151300.15365-1-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Hugo Villeneuve and committed by
Greg Kroah-Hartman
064f3bb3 d8a5c0d6

+4 -4
+4 -4
drivers/tty/serial/sc16is7xx.c
··· 223 223 * trigger levels. Trigger levels from 4 characters to 60 characters are 224 224 * available with a granularity of four. 225 225 * 226 - * When the trigger level setting in TLR is zero, the SC16IS740/750/760 uses the 226 + * When the trigger level setting in TLR is zero, the SC16IS74x/75x/76x uses the 227 227 * trigger level setting defined in FCR. If TLR has non-zero trigger level value 228 228 * the trigger level defined in FCR is discarded. This applies to both transmit 229 229 * FIFO and receive FIFO trigger level setting. ··· 234 234 #define SC16IS7XX_TLR_TX_TRIGGER(words) ((((words) / 4) & 0x0f) << 0) 235 235 #define SC16IS7XX_TLR_RX_TRIGGER(words) ((((words) / 4) & 0x0f) << 4) 236 236 237 - /* IOControl register bits (Only 750/760) */ 237 + /* IOControl register bits (Only 75x/76x) */ 238 238 #define SC16IS7XX_IOCONTROL_LATCH_BIT (1 << 0) /* Enable input latching */ 239 239 #define SC16IS7XX_IOCONTROL_MODEM_A_BIT (1 << 1) /* Enable GPIO[7:4] as modem A pins */ 240 240 #define SC16IS7XX_IOCONTROL_MODEM_B_BIT (1 << 2) /* Enable GPIO[3:0] as modem B pins */ ··· 249 249 #define SC16IS7XX_EFCR_RTS_INVERT_BIT (1 << 5) /* RTS output inversion */ 250 250 #define SC16IS7XX_EFCR_IRDA_MODE_BIT (1 << 7) /* IrDA mode 251 251 * 0 = rate upto 115.2 kbit/s 252 - * - Only 750/760 252 + * - Only 75x/76x 253 253 * 1 = rate upto 1.152 Mbit/s 254 - * - Only 760 254 + * - Only 76x 255 255 */ 256 256 257 257 /* EFR register bits */