Skip to content

Commit 3cf12ca

Browse files
easwarhhdeller
authored andcommitted
fbdev: smscufx: Make I2C terminology more inclusive
I2C v7, SMBus 3.2, and I3C 1.1.1 specifications have replaced "master/slave" with more appropriate terms. Inspired by Wolfram's series to fix drivers/i2c/, fix the terminology for users of I2C_ALGOBIT bitbanging interface, now that the approved verbiage exists in the specification. Acked-by: Thomas Zimmermann <[email protected]> Signed-off-by: Easwar Hariharan <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 7ee6cfe commit 3cf12ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/video/fbdev/smscufx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ static int ufx_realloc_framebuffer(struct ufx_data *dev, struct fb_info *info)
12921292
return 0;
12931293
}
12941294

1295-
/* sets up I2C Controller for 100 Kbps, std. speed, 7-bit addr, master,
1295+
/* sets up DDC channel for 100 Kbps, std. speed, 7-bit addr, controller mode,
12961296
* restart enabled, but no start byte, enable controller */
12971297
static int ufx_i2c_init(struct ufx_data *dev)
12981298
{
@@ -1321,7 +1321,7 @@ static int ufx_i2c_init(struct ufx_data *dev)
13211321
/* 7-bit (not 10-bit) addressing */
13221322
tmp &= ~(0x10);
13231323

1324-
/* enable restart conditions and master mode */
1324+
/* enable restart conditions and controller mode */
13251325
tmp |= 0x21;
13261326

13271327
status = ufx_reg_write(dev, 0x1000, tmp);

0 commit comments

Comments
 (0)