mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
[ig4] style(9) clean-up
Submitted by: Rajesh Kumar <rajfbsd@gmail.com> Approved by: re (gjb, kib)
This commit is contained in:
parent
2284664ef9
commit
627e5af85a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339182
|
@ -729,9 +729,9 @@ ig4iic_intr(void *cookie)
|
|||
* Workaround to trigger pending interrupt if IG4_REG_INTR_STAT
|
||||
* is changed after clearing it
|
||||
*/
|
||||
if(sc->access_intr_mask) {
|
||||
if (sc->access_intr_mask != 0) {
|
||||
status = reg_read(sc, IG4_REG_INTR_MASK);
|
||||
if(status) {
|
||||
if (status != 0) {
|
||||
reg_write(sc, IG4_REG_INTR_MASK, 0);
|
||||
reg_write(sc, IG4_REG_INTR_MASK, status);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue