diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-06-08 15:48:49 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-06-08 15:48:49 -0400 |
| commit | 902b2edfca34f88b04b86e605087e200e7e79880 (patch) | |
| tree | 2b77ff62326a43cb2115cd5f5874727c118962b6 | |
| parent | 66b59f2b5e48969de862908c2d32c8b3d3724738 (diff) | |
| parent | 8f77293cca1f5116edc98d7a0e36c6da3917fc08 (diff) | |
Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fixes from Wolfram Sang:
"I2C has a driver bugfix and a MAINTAINERS fix"
* 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
MAINTAINERS: Karthikeyan Ramasubramanian is MIA
i2c: xiic: Add max_read_len quirk
| -rw-r--r-- | MAINTAINERS | 1 | ||||
| -rw-r--r-- | drivers/i2c/busses/i2c-xiic.c | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index df83b6769c17..57f496cff999 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -13057,7 +13057,6 @@ F: Documentation/devicetree/bindings/net/qcom,dwmac.txt | |||
| 13057 | 13057 | ||
| 13058 | QUALCOMM GENERIC INTERFACE I2C DRIVER | 13058 | QUALCOMM GENERIC INTERFACE I2C DRIVER |
| 13059 | M: Alok Chauhan <alokc@codeaurora.org> | 13059 | M: Alok Chauhan <alokc@codeaurora.org> |
| 13060 | M: Karthikeyan Ramasubramanian <kramasub@codeaurora.org> | ||
| 13061 | L: linux-i2c@vger.kernel.org | 13060 | L: linux-i2c@vger.kernel.org |
| 13062 | L: linux-arm-msm@vger.kernel.org | 13061 | L: linux-arm-msm@vger.kernel.org |
| 13063 | S: Supported | 13062 | S: Supported |
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c index 0fea7c54f788..37b3b9307d07 100644 --- a/drivers/i2c/busses/i2c-xiic.c +++ b/drivers/i2c/busses/i2c-xiic.c | |||
| @@ -709,11 +709,16 @@ static const struct i2c_algorithm xiic_algorithm = { | |||
| 709 | .functionality = xiic_func, | 709 | .functionality = xiic_func, |
| 710 | }; | 710 | }; |
| 711 | 711 | ||
| 712 | static const struct i2c_adapter_quirks xiic_quirks = { | ||
| 713 | .max_read_len = 255, | ||
| 714 | }; | ||
| 715 | |||
| 712 | static const struct i2c_adapter xiic_adapter = { | 716 | static const struct i2c_adapter xiic_adapter = { |
| 713 | .owner = THIS_MODULE, | 717 | .owner = THIS_MODULE, |
| 714 | .name = DRIVER_NAME, | 718 | .name = DRIVER_NAME, |
| 715 | .class = I2C_CLASS_DEPRECATED, | 719 | .class = I2C_CLASS_DEPRECATED, |
| 716 | .algo = &xiic_algorithm, | 720 | .algo = &xiic_algorithm, |
| 721 | .quirks = &xiic_quirks, | ||
| 717 | }; | 722 | }; |
| 718 | 723 | ||
| 719 | 724 | ||
