mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-18 05:53:36 +01: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
|
* Workaround to trigger pending interrupt if IG4_REG_INTR_STAT
|
||||||
* is changed after clearing it
|
* is changed after clearing it
|
||||||
*/
|
*/
|
||||||
if(sc->access_intr_mask) {
|
if (sc->access_intr_mask != 0) {
|
||||||
status = reg_read(sc, IG4_REG_INTR_MASK);
|
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, 0);
|
||||||
reg_write(sc, IG4_REG_INTR_MASK, status);
|
reg_write(sc, IG4_REG_INTR_MASK, status);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user