]> www.infradead.org Git - users/jedix/linux-maple.git/commit
regmap-irq: Consistently use memset32() in regmap_irq_thread()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 25 Sep 2024 08:27:26 +0000 (11:27 +0300)
committerMark Brown <broonie@kernel.org>
Sun, 29 Sep 2024 23:11:09 +0000 (01:11 +0200)
commit21e9a1dd01b17095192ea86decc0c2081451612e
tree77fab22d38bc83004992b1f85b55abaaa14d5619
parent9852d85ec9d492ebef56dc5f229416c925758edc
regmap-irq: Consistently use memset32() in regmap_irq_thread()

The commit 4d60cac951fd ("regmap-irq: Add no_status support") adds
an additional branch into IRQ thread handler in regmap. It wisely
chose to use memset32() as it might be optimised on some architectures
and hence give a performance benefit. At the same time the old code
continue using simple memset(). Update the old code to use memset32().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20240925082726.620622-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-irq.c