<p><a href="https://review.coreboot.org/c/coreboot/+/29475">View Change</a></p><p>6 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/29475/1/src/drivers/i2c/nct7802y/nct7802y.h">File src/drivers/i2c/nct7802y/nct7802y.h:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/29475/1/src/drivers/i2c/nct7802y/nct7802y.h@39">Patch Set #1, Line 39:</a> <code style="font-family:monospace,monospace"><< 0</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">the << 0 isn't really needed here and in the 3 lines below. if it's for consistency with the other bit definitions, I'm not opposed to keep that though.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/29475/1/src/drivers/i2c/nct7802y/nct7802y.h@55">Patch Set #1, Line 55:</a> <code style="font-family:monospace,monospace">tab</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">maybe rename tab to fan, so it's clearer that that's the fan id. same for the line below</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/29475/1/src/drivers/i2c/nct7802y/nct7802y.h@93">Patch Set #1, Line 93:</a> <code style="font-family:monospace,monospace">unset_mask</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">clear_mask?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/29475/1/src/drivers/i2c/nct7802y/nct7802y_fan.c">File src/drivers/i2c/nct7802y/nct7802y_fan.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/29475/1/src/drivers/i2c/nct7802y/nct7802y_fan.c@32">Patch Set #1, Line 32:</a> <code style="font-family:monospace,monospace">3</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">use NCT7802Y_FAN_CNT here</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/29475/1/src/drivers/i2c/nct7802y/nct7802y_fan.c@68">Patch Set #1, Line 68:</a> <code style="font-family:monospace,monospace">div</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">for the case smart.mode == SMART_FAN_DUTY, div = 1 is likely wrong (comment in chip.h says that target should be in % and if I read this correctly, the register expects the value being between 0 and 255)</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/29475/1/src/drivers/i2c/nct7802y/nct7802y_fan.c@82">Patch Set #1, Line 82:</a> <code style="font-family:monospace,monospace">            return;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">print a warning, when config is 0?</p></li></ul></li></ul><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/29475">change 29475</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/c/coreboot/+/29475"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I35ea79e12941804e398c6304a08170a776f4ca76 </div>
<div style="display:none"> Gerrit-Change-Number: 29475 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nico Huber <nico.h@gmx.de> </div>
<div style="display:none"> Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Felix Held <felix-coreboot@felixheld.de> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Sun, 16 Dec 2018 22:03:23 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>