Skip to content

hwmon: (sht21) Don't use clock stretching#1

Open
dbrgn wants to merge 2 commits intomasterfrom
sht21
Open

hwmon: (sht21) Don't use clock stretching#1
dbrgn wants to merge 2 commits intomasterfrom
sht21

Conversation

@dbrgn
Copy link
Copy Markdown
Owner

@dbrgn dbrgn commented Jan 8, 2018

The current driver uses clock stretching (hold master) mode to retrieve
the measurements. This blocks the bus and may cause problems on some
systems like the BCM2835 (Raspberry Pi) that have buggy I2C
implementations¹.

¹ http://www.advamation.com/knowhow/raspberrypi/rpi-i2c-bug.html

@abrauchli
Copy link
Copy Markdown

LGTM 👍

@dbrgn
Copy link
Copy Markdown
Owner Author

dbrgn commented Jan 8, 2018

Thanks for the review, @abrauchli!

Signed-off-by: Danilo Bargen <mail@dbrgn.ch>
@dbrgn
Copy link
Copy Markdown
Owner Author

dbrgn commented Jan 21, 2018

@abrauchli may/should I add you to the commit message as Acked-by or Reviewed-by?

This is the commit that I'm going to submit: 4760882be20d54a15ff9f2ab708ef47ff57df855

@dbrgn
Copy link
Copy Markdown
Owner Author

dbrgn commented Jan 21, 2018

And @rnestler too in case you reviewed the entire patch :)

@abrauchli
Copy link
Copy Markdown

@dbrgn thanks, yes, please add Reviewed-by: Andreas Brauchli <andreas.brauchli@sensirion.com>

The current driver uses clock stretching (hold master) mode to retrieve
the measurements. This blocks the bus and may cause problems on some
systems like the BCM2835 (Raspberry Pi) that have buggy I2C hardware¹.

¹ http://www.advamation.com/knowhow/raspberrypi/rpi-i2c-bug.html

Signed-off-by: Danilo Bargen <mail@dbrgn.ch>
Reviewed-by: Andreas Brauchli <andreas.brauchli@sensirion.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants