]> git.baikalelectronics.ru Git - kernel.git/commit
regmap-irq: do not write mask register if mask_base is zero
authorMark Zhang <markz@nvidia.com>
Mon, 14 Jan 2019 09:32:58 +0000 (17:32 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Jan 2019 22:11:22 +0000 (22:11 +0000)
commit73d9603ffd5fbf5736a075996051b3de90dbc6c0
treed36c632d1584d9c196585c411389158486aade8d
parent1223b26708a744810d03e676da707620065152ed
regmap-irq: do not write mask register if mask_base is zero

If client have not provided the mask base register then do not
write into the mask register.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Signed-off-by: Mark Zhang <markz@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-irq.c