aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/algos/i2c-algo-pca.c2
-rw-r--r--drivers/i2c/busses/i2c-ali1535.c2
-rw-r--r--drivers/i2c/busses/i2c-ali15x3.c2
-rw-r--r--drivers/i2c/busses/i2c-davinci.c2
-rw-r--r--drivers/i2c/busses/i2c-designware.c2
-rw-r--r--drivers/i2c/busses/i2c-elektor.c2
-rw-r--r--drivers/i2c/busses/i2c-i801.c2
-rw-r--r--drivers/i2c/busses/i2c-ibm_iic.c4
-rw-r--r--drivers/i2c/busses/i2c-intel-mid.c14
-rw-r--r--drivers/i2c/busses/i2c-isch.c2
-rw-r--r--drivers/i2c/busses/i2c-mxs.c2
-rw-r--r--drivers/i2c/busses/i2c-nomadik.c8
-rw-r--r--drivers/i2c/busses/i2c-s6000.c2
-rw-r--r--drivers/i2c/busses/i2c-stu300.c4
-rw-r--r--drivers/i2c/busses/i2c-tegra.c2
-rw-r--r--drivers/i2c/busses/i2c-xiic.c2
-rw-r--r--drivers/i2c/i2c-core.c2
17 files changed, 28 insertions, 28 deletions
diff --git a/drivers/i2c/algos/i2c-algo-pca.c b/drivers/i2c/algos/i2c-algo-pca.c
index 2b9a8f54bb2c..4ca9cf9cde73 100644
--- a/drivers/i2c/algos/i2c-algo-pca.c
+++ b/drivers/i2c/algos/i2c-algo-pca.c
@@ -343,7 +343,7 @@ static int pca_xfer(struct i2c_adapter *i2c_adap,
343 343
344 ret = curmsg; 344 ret = curmsg;
345 out: 345 out:
346 DEB1("}}} transfered %d/%d messages. " 346 DEB1("}}} transferred %d/%d messages. "
347 "status is %#04x. control is %#04x\n", 347 "status is %#04x. control is %#04x\n",
348 curmsg, num, pca_status(adap), 348 curmsg, num, pca_status(adap),
349 pca_get_con(adap)); 349 pca_get_con(adap));
diff --git a/drivers/i2c/busses/i2c-ali1535.c b/drivers/i2c/busses/i2c-ali1535.c
index 906a3ca50db6..dd364171f9c5 100644
--- a/drivers/i2c/busses/i2c-ali1535.c
+++ b/drivers/i2c/busses/i2c-ali1535.c
@@ -295,7 +295,7 @@ static int ali1535_transaction(struct i2c_adapter *adap)
295 } 295 }
296 296
297 /* Unfortunately the ALI SMB controller maps "no response" and "bus 297 /* Unfortunately the ALI SMB controller maps "no response" and "bus
298 * collision" into a single bit. No reponse is the usual case so don't 298 * collision" into a single bit. No response is the usual case so don't
299 * do a printk. This means that bus collisions go unreported. 299 * do a printk. This means that bus collisions go unreported.
300 */ 300 */
301 if (temp & ALI1535_STS_BUSERR) { 301 if (temp & ALI1535_STS_BUSERR) {
diff --git a/drivers/i2c/busses/i2c-ali15x3.c b/drivers/i2c/busses/i2c-ali15x3.c
index b14f6d68221d..83e8a60cdc86 100644
--- a/drivers/i2c/busses/i2c-ali15x3.c
+++ b/drivers/i2c/busses/i2c-ali15x3.c
@@ -318,7 +318,7 @@ static int ali15x3_transaction(struct i2c_adapter *adap)
318 318
319 /* 319 /*
320 Unfortunately the ALI SMB controller maps "no response" and "bus 320 Unfortunately the ALI SMB controller maps "no response" and "bus
321 collision" into a single bit. No reponse is the usual case so don't 321 collision" into a single bit. No response is the usual case so don't
322 do a printk. 322 do a printk.
323 This means that bus collisions go unreported. 323 This means that bus collisions go unreported.
324 */ 324 */
diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c
index 5795c8398c7c..a76d85fa3ad7 100644
--- a/drivers/i2c/busses/i2c-davinci.c
+++ b/drivers/i2c/busses/i2c-davinci.c
@@ -355,7 +355,7 @@ i2c_davinci_xfer_msg(struct i2c_adapter *adap, struct i2c_msg *msg, int stop)
355 /* 355 /*
356 * Write mode register first as needed for correct behaviour 356 * Write mode register first as needed for correct behaviour
357 * on OMAP-L138, but don't set STT yet to avoid a race with XRDY 357 * on OMAP-L138, but don't set STT yet to avoid a race with XRDY
358 * occuring before we have loaded DXR 358 * occurring before we have loaded DXR
359 */ 359 */
360 davinci_i2c_write_reg(dev, DAVINCI_I2C_MDR_REG, flag); 360 davinci_i2c_write_reg(dev, DAVINCI_I2C_MDR_REG, flag);
361 361
diff --git a/drivers/i2c/busses/i2c-designware.c b/drivers/i2c/busses/i2c-designware.c
index b664ed8bbdb3..b7a51c43b185 100644
--- a/drivers/i2c/busses/i2c-designware.c
+++ b/drivers/i2c/busses/i2c-designware.c
@@ -178,7 +178,7 @@ static char *abort_sources[] = {
178 * @lock: protect this struct and IO registers 178 * @lock: protect this struct and IO registers
179 * @clk: input reference clock 179 * @clk: input reference clock
180 * @cmd_err: run time hadware error code 180 * @cmd_err: run time hadware error code
181 * @msgs: points to an array of messages currently being transfered 181 * @msgs: points to an array of messages currently being transferred
182 * @msgs_num: the number of elements in msgs 182 * @msgs_num: the number of elements in msgs
183 * @msg_write_idx: the element index of the current tx message in the msgs 183 * @msg_write_idx: the element index of the current tx message in the msgs
184 * array 184 * array
diff --git a/drivers/i2c/busses/i2c-elektor.c b/drivers/i2c/busses/i2c-elektor.c
index e5b1a3bf5b80..37e2e82a9c88 100644
--- a/drivers/i2c/busses/i2c-elektor.c
+++ b/drivers/i2c/busses/i2c-elektor.c
@@ -22,7 +22,7 @@
22/* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and even 22/* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and even
23 Frodo Looijaard <frodol@dds.nl> */ 23 Frodo Looijaard <frodol@dds.nl> */
24 24
25/* Partialy rewriten by Oleg I. Vdovikin for mmapped support of 25/* Partially rewriten by Oleg I. Vdovikin for mmapped support of
26 for Alpha Processor Inc. UP-2000(+) boards */ 26 for Alpha Processor Inc. UP-2000(+) boards */
27 27
28#include <linux/kernel.h> 28#include <linux/kernel.h>
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
index ed2e0c5ea37c..72c0415f6f94 100644
--- a/drivers/i2c/busses/i2c-i801.c
+++ b/drivers/i2c/busses/i2c-i801.c
@@ -96,7 +96,7 @@
96#define SMBHSTCFG_SMB_SMI_EN 2 96#define SMBHSTCFG_SMB_SMI_EN 2
97#define SMBHSTCFG_I2C_EN 4 97#define SMBHSTCFG_I2C_EN 4
98 98
99/* Auxillary control register bits, ICH4+ only */ 99/* Auxiliary control register bits, ICH4+ only */
100#define SMBAUXCTL_CRC 1 100#define SMBAUXCTL_CRC 1
101#define SMBAUXCTL_E32B 2 101#define SMBAUXCTL_E32B 2
102 102
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c
index e4f88dca99b5..3c110fbc409b 100644
--- a/drivers/i2c/busses/i2c-ibm_iic.c
+++ b/drivers/i2c/busses/i2c-ibm_iic.c
@@ -494,7 +494,7 @@ static int iic_xfer_bytes(struct ibm_iic_private* dev, struct i2c_msg* pm,
494 if (unlikely(ret < 0)) 494 if (unlikely(ret < 0))
495 break; 495 break;
496 else if (unlikely(ret != count)){ 496 else if (unlikely(ret != count)){
497 DBG("%d: xfer_bytes, requested %d, transfered %d\n", 497 DBG("%d: xfer_bytes, requested %d, transferred %d\n",
498 dev->idx, count, ret); 498 dev->idx, count, ret);
499 499
500 /* If it's not a last part of xfer, abort it */ 500 /* If it's not a last part of xfer, abort it */
@@ -593,7 +593,7 @@ static int iic_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
593 if (unlikely((in_8(&iic->extsts) & EXTSTS_BCS_MASK) != EXTSTS_BCS_FREE)){ 593 if (unlikely((in_8(&iic->extsts) & EXTSTS_BCS_MASK) != EXTSTS_BCS_FREE)){
594 DBG("%d: iic_xfer, bus is not free\n", dev->idx); 594 DBG("%d: iic_xfer, bus is not free\n", dev->idx);
595 595
596 /* Usually it means something serious has happend. 596 /* Usually it means something serious has happened.
597 * We *cannot* have unfinished previous transfer 597 * We *cannot* have unfinished previous transfer
598 * so it doesn't make any sense to try to stop it. 598 * so it doesn't make any sense to try to stop it.
599 * Probably we were not able to recover from the 599 * Probably we were not able to recover from the
diff --git a/drivers/i2c/busses/i2c-intel-mid.c b/drivers/i2c/busses/i2c-intel-mid.c
index c71492782bbd..e828ac85cfa7 100644
--- a/drivers/i2c/busses/i2c-intel-mid.c
+++ b/drivers/i2c/busses/i2c-intel-mid.c
@@ -170,8 +170,8 @@ struct intel_mid_i2c_private {
170/* Raw Interrupt Status Register */ 170/* Raw Interrupt Status Register */
171#define IC_RAW_INTR_STAT 0x34 /* Read Only */ 171#define IC_RAW_INTR_STAT 0x34 /* Read Only */
172#define GEN_CALL (1 << 11) /* General call */ 172#define GEN_CALL (1 << 11) /* General call */
173#define START_DET (1 << 10) /* (RE)START occured */ 173#define START_DET (1 << 10) /* (RE)START occurred */
174#define STOP_DET (1 << 9) /* STOP occured */ 174#define STOP_DET (1 << 9) /* STOP occurred */
175#define ACTIVITY (1 << 8) /* Bus busy */ 175#define ACTIVITY (1 << 8) /* Bus busy */
176#define RX_DONE (1 << 7) /* Not used in Master mode */ 176#define RX_DONE (1 << 7) /* Not used in Master mode */
177#define TX_ABRT (1 << 6) /* Transmit Abort */ 177#define TX_ABRT (1 << 6) /* Transmit Abort */
@@ -375,7 +375,7 @@ static int intel_mid_i2c_disable(struct i2c_adapter *adap)
375 * I2C should be disabled prior to other register operation. If failed, an 375 * I2C should be disabled prior to other register operation. If failed, an
376 * errno is returned. Mask and Clear all interrpts, this should be done at 376 * errno is returned. Mask and Clear all interrpts, this should be done at
377 * first. Set common registers which will not be modified during normal 377 * first. Set common registers which will not be modified during normal
378 * transfers, including: controll register, FIFO threshold and clock freq. 378 * transfers, including: control register, FIFO threshold and clock freq.
379 * Check APB data width at last. 379 * Check APB data width at last.
380 */ 380 */
381static int intel_mid_i2c_hwinit(struct intel_mid_i2c_private *i2c) 381static int intel_mid_i2c_hwinit(struct intel_mid_i2c_private *i2c)
@@ -455,7 +455,7 @@ static inline bool intel_mid_i2c_address_neq(const struct i2c_msg *p1,
455 * 455 *
456 * By reading register IC_TX_ABRT_SOURCE, various transfer errors can be 456 * By reading register IC_TX_ABRT_SOURCE, various transfer errors can be
457 * distingushed. At present, no circumstances have been found out that 457 * distingushed. At present, no circumstances have been found out that
458 * multiple errors would be occured simutaneously, so we simply use the 458 * multiple errors would be occurred simutaneously, so we simply use the
459 * register value directly. 459 * register value directly.
460 * 460 *
461 * At last the error bits are cleared. (Note clear ABRT_SBYTE_NORSTRT bit need 461 * At last the error bits are cleared. (Note clear ABRT_SBYTE_NORSTRT bit need
@@ -469,7 +469,7 @@ static void intel_mid_i2c_abort(struct intel_mid_i2c_private *i2c)
469 469
470 /* Single transfer error check: 470 /* Single transfer error check:
471 * According to databook, TX/RX FIFOs would be flushed when 471 * According to databook, TX/RX FIFOs would be flushed when
472 * the abort interrupt occured. 472 * the abort interrupt occurred.
473 */ 473 */
474 if (abort & ABRT_MASTER_DIS) 474 if (abort & ABRT_MASTER_DIS)
475 dev_err(&adap->dev, 475 dev_err(&adap->dev,
@@ -569,7 +569,7 @@ static int xfer_read(struct i2c_adapter *adap, unsigned char *buf, int length)
569 * Return Values: 569 * Return Values:
570 * 0 if the read transfer succeeds 570 * 0 if the read transfer succeeds
571 * -ETIMEDOUT if we cannot read the "raw" interrupt register 571 * -ETIMEDOUT if we cannot read the "raw" interrupt register
572 * -EINVAL if a transfer abort occured 572 * -EINVAL if a transfer abort occurred
573 * 573 *
574 * For every byte, a "WRITE" command will be loaded into IC_DATA_CMD prior to 574 * For every byte, a "WRITE" command will be loaded into IC_DATA_CMD prior to
575 * data transfer. The actual "write" operation will be performed when the 575 * data transfer. The actual "write" operation will be performed when the
@@ -697,7 +697,7 @@ static int intel_mid_i2c_setup(struct i2c_adapter *adap, struct i2c_msg *pmsg)
697 * @num: number of i2c_msg 697 * @num: number of i2c_msg
698 * 698 *
699 * Return Values: 699 * Return Values:
700 * + number of messages transfered 700 * + number of messages transferred
701 * -ETIMEDOUT If cannot disable I2C controller or read IC_STATUS 701 * -ETIMEDOUT If cannot disable I2C controller or read IC_STATUS
702 * -EINVAL If the address in i2c_msg is invalid 702 * -EINVAL If the address in i2c_msg is invalid
703 * 703 *
diff --git a/drivers/i2c/busses/i2c-isch.c b/drivers/i2c/busses/i2c-isch.c
index ddc258edb34f..0682f8f277b0 100644
--- a/drivers/i2c/busses/i2c-isch.c
+++ b/drivers/i2c/busses/i2c-isch.c
@@ -141,7 +141,7 @@ static int sch_transaction(void)
141 * This is the main access entry for i2c-sch access 141 * This is the main access entry for i2c-sch access
142 * adap is i2c_adapter pointer, addr is the i2c device bus address, read_write 142 * adap is i2c_adapter pointer, addr is the i2c device bus address, read_write
143 * (0 for read and 1 for write), size is i2c transaction type and data is the 143 * (0 for read and 1 for write), size is i2c transaction type and data is the
144 * union of transaction for data to be transfered or data read from bus. 144 * union of transaction for data to be transferred or data read from bus.
145 * return 0 for success and others for failure. 145 * return 0 for success and others for failure.
146 */ 146 */
147static s32 sch_access(struct i2c_adapter *adap, u16 addr, 147static s32 sch_access(struct i2c_adapter *adap, u16 addr,
diff --git a/drivers/i2c/busses/i2c-mxs.c b/drivers/i2c/busses/i2c-mxs.c
index caf96dc8ca1b..7e78f7c87857 100644
--- a/drivers/i2c/busses/i2c-mxs.c
+++ b/drivers/i2c/busses/i2c-mxs.c
@@ -149,7 +149,7 @@ static void mxs_i2c_pioq_setup_write(struct mxs_i2c_dev *i2c,
149 * We have to copy the slave address (u8) and buffer (arbitrary number 149 * We have to copy the slave address (u8) and buffer (arbitrary number
150 * of u8) into the data register (u32). To achieve that, the u8 are put 150 * of u8) into the data register (u32). To achieve that, the u8 are put
151 * into the MSBs of 'data' which is then shifted for the next u8. When 151 * into the MSBs of 'data' which is then shifted for the next u8. When
152 * apropriate, 'data' is written to MXS_I2C_DATA. So, the first u32 152 * appropriate, 'data' is written to MXS_I2C_DATA. So, the first u32
153 * looks like this: 153 * looks like this:
154 * 154 *
155 * 3 2 1 0 155 * 3 2 1 0
diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c
index 594ed5059c4a..e10e5cf3751a 100644
--- a/drivers/i2c/busses/i2c-nomadik.c
+++ b/drivers/i2c/busses/i2c-nomadik.c
@@ -126,9 +126,9 @@ enum i2c_operation {
126/** 126/**
127 * struct i2c_nmk_client - client specific data 127 * struct i2c_nmk_client - client specific data
128 * @slave_adr: 7-bit slave address 128 * @slave_adr: 7-bit slave address
129 * @count: no. bytes to be transfered 129 * @count: no. bytes to be transferred
130 * @buffer: client data buffer 130 * @buffer: client data buffer
131 * @xfer_bytes: bytes transfered till now 131 * @xfer_bytes: bytes transferred till now
132 * @operation: current I2C operation 132 * @operation: current I2C operation
133 */ 133 */
134struct i2c_nmk_client { 134struct i2c_nmk_client {
@@ -330,7 +330,7 @@ static void setup_i2c_controller(struct nmk_i2c_dev *dev)
330 * slsu defines the data setup time after SCL clock 330 * slsu defines the data setup time after SCL clock
331 * stretching in terms of i2c clk cycles. The 331 * stretching in terms of i2c clk cycles. The
332 * needed setup time for the three modes are 250ns, 332 * needed setup time for the three modes are 250ns,
333 * 100ns, 10ns repectively thus leading to the values 333 * 100ns, 10ns respectively thus leading to the values
334 * of 14, 6, 2 for a 48 MHz i2c clk. 334 * of 14, 6, 2 for a 48 MHz i2c clk.
335 */ 335 */
336 writel(dev->cfg.slsu << 16, dev->virtbase + I2C_SCR); 336 writel(dev->cfg.slsu << 16, dev->virtbase + I2C_SCR);
@@ -364,7 +364,7 @@ static void setup_i2c_controller(struct nmk_i2c_dev *dev)
364 /* 364 /*
365 * set the speed mode. Currently we support 365 * set the speed mode. Currently we support
366 * only standard and fast mode of operation 366 * only standard and fast mode of operation
367 * TODO - support for fast mode plus (upto 1Mb/s) 367 * TODO - support for fast mode plus (up to 1Mb/s)
368 * and high speed (up to 3.4 Mb/s) 368 * and high speed (up to 3.4 Mb/s)
369 */ 369 */
370 if (dev->cfg.sm > I2C_FREQ_MODE_FAST) { 370 if (dev->cfg.sm > I2C_FREQ_MODE_FAST) {
diff --git a/drivers/i2c/busses/i2c-s6000.c b/drivers/i2c/busses/i2c-s6000.c
index cadc0216e02f..cb5d01e279c6 100644
--- a/drivers/i2c/busses/i2c-s6000.c
+++ b/drivers/i2c/busses/i2c-s6000.c
@@ -318,7 +318,7 @@ static int __devinit s6i2c_probe(struct platform_device *dev)
318 rc = request_irq(iface->irq, s6i2c_interrupt_entry, 318 rc = request_irq(iface->irq, s6i2c_interrupt_entry,
319 IRQF_SHARED, dev->name, iface); 319 IRQF_SHARED, dev->name, iface);
320 if (rc) { 320 if (rc) {
321 dev_err(&p_adap->dev, "s6i2c: cant get IRQ %d\n", iface->irq); 321 dev_err(&p_adap->dev, "s6i2c: can't get IRQ %d\n", iface->irq);
322 goto err_clk_dis; 322 goto err_clk_dis;
323 } 323 }
324 324
diff --git a/drivers/i2c/busses/i2c-stu300.c b/drivers/i2c/busses/i2c-stu300.c
index 266135ddf7fa..99879617e686 100644
--- a/drivers/i2c/busses/i2c-stu300.c
+++ b/drivers/i2c/busses/i2c-stu300.c
@@ -497,7 +497,7 @@ static int stu300_set_clk(struct stu300_dev *dev, unsigned long clkrate)
497 u32 val; 497 u32 val;
498 int i = 0; 498 int i = 0;
499 499
500 /* Locate the apropriate clock setting */ 500 /* Locate the appropriate clock setting */
501 while (i < ARRAY_SIZE(stu300_clktable) - 1 && 501 while (i < ARRAY_SIZE(stu300_clktable) - 1 &&
502 stu300_clktable[i].rate < clkrate) 502 stu300_clktable[i].rate < clkrate)
503 i++; 503 i++;
@@ -644,7 +644,7 @@ static int stu300_send_address(struct stu300_dev *dev,
644 ret = stu300_await_event(dev, STU300_EVENT_6); 644 ret = stu300_await_event(dev, STU300_EVENT_6);
645 645
646 /* 646 /*
647 * Clear any pending EVENT 6 no matter what happend during 647 * Clear any pending EVENT 6 no matter what happened during
648 * await_event. 648 * await_event.
649 */ 649 */
650 val = stu300_r8(dev->virtbase + I2C_CR); 650 val = stu300_r8(dev->virtbase + I2C_CR);
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index 3921f664c9c3..b4ab39b741eb 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -386,7 +386,7 @@ static irqreturn_t tegra_i2c_isr(int irq, void *dev_id)
386 dvc_writel(i2c_dev, DVC_STATUS_I2C_DONE_INTR, DVC_STATUS); 386 dvc_writel(i2c_dev, DVC_STATUS_I2C_DONE_INTR, DVC_STATUS);
387 return IRQ_HANDLED; 387 return IRQ_HANDLED;
388err: 388err:
389 /* An error occured, mask all interrupts */ 389 /* An error occurred, mask all interrupts */
390 tegra_i2c_mask_irq(i2c_dev, I2C_INT_NO_ACK | I2C_INT_ARBITRATION_LOST | 390 tegra_i2c_mask_irq(i2c_dev, I2C_INT_NO_ACK | I2C_INT_ARBITRATION_LOST |
391 I2C_INT_PACKET_XFER_COMPLETE | I2C_INT_TX_FIFO_DATA_REQ | 391 I2C_INT_PACKET_XFER_COMPLETE | I2C_INT_TX_FIFO_DATA_REQ |
392 I2C_INT_RX_FIFO_DATA_REQ); 392 I2C_INT_RX_FIFO_DATA_REQ);
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c
index 9fbd7e6fe32e..e9d5ff4d1496 100644
--- a/drivers/i2c/busses/i2c-xiic.c
+++ b/drivers/i2c/busses/i2c-xiic.c
@@ -21,7 +21,7 @@
21 * to the automotive development board Russellville. The copyright holder 21 * to the automotive development board Russellville. The copyright holder
22 * as seen in the header is Intel corporation. 22 * as seen in the header is Intel corporation.
23 * Mocean Laboratories forked off the GNU/Linux platform work into a 23 * Mocean Laboratories forked off the GNU/Linux platform work into a
24 * separate company called Pelagicore AB, which commited the code to the 24 * separate company called Pelagicore AB, which committed the code to the
25 * kernel. 25 * kernel.
26 */ 26 */
27 27
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
index e5f76a0372fd..70c30e6bce0b 100644
--- a/drivers/i2c/i2c-core.c
+++ b/drivers/i2c/i2c-core.c
@@ -348,7 +348,7 @@ EXPORT_SYMBOL(i2c_verify_client);
348 348
349 349
350/* This is a permissive address validity check, I2C address map constraints 350/* This is a permissive address validity check, I2C address map constraints
351 * are purposedly not enforced, except for the general call address. */ 351 * are purposely not enforced, except for the general call address. */
352static int i2c_check_client_addr_validity(const struct i2c_client *client) 352static int i2c_check_client_addr_validity(const struct i2c_client *client)
353{ 353{
354 if (client->flags & I2C_CLIENT_TEN) { 354 if (client->flags & I2C_CLIENT_TEN) {