Re: [PATCH] regmap: irq: Add support to clear ack registers

From: b_lkasam
Date: Mon Oct 05 2020 - 08:17:46 EST


On 2020-09-27 17:53, Greg KH wrote:
On Fri, Sep 25, 2020 at 07:14:01PM +0530, b_lkasam@xxxxxxxxxxxxxx wrote:
For particular codec HWs have requirement to
writing interrupt clear and mask interrupt clear
register to toggle interrupt status. To accommodate it,
need to add one more field (clear_ack) in the regmap_irq
struct and update regmap-irq driver to support it.

Signed-off-by: Laxminath Kasam <lkasam@xxxxxxxxxxxxxx>
---
drivers/base/regmap/regmap-irq.c | 52
++++++++++++++++++++++++++++++++++++----
include/linux/regmap.h | 2 ++
2 files changed, 49 insertions(+), 5 deletions(-)

Patch is line-wrapped :(
Will fix and send new v2 patch.