public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] iio: light: stk3310: Fix PS interrupt after suspend and clean up code style
@ 2026-05-04  3:04 Miao Li
  2026-05-04  3:04 ` [PATCH v4 1/3] iio: light: stk3310: Deal with the ps interrupt issue in PM Miao Li
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Miao Li @ 2026-05-04  3:04 UTC (permalink / raw)
  To: jic23
  Cc: dlechner, nuno.sa, andy, waqar.hameed, dixitparmar19, linux-iio,
	linux-kernel, limiao870622, Miao Li

From: Miao Li <limiao@kylinos.cn>

This patch series addresses an interrupt issue and does two code cleanups
for the stk3310 driver.

Patch 1 fixes a PS interrupt issue where the interrupt cannot be triggered
normally after waking from suspend/hibernation, discovered on the Inspur
HS326 laptop with HiSilicon M900 processor.

Patch 2 replaces uint32_t with u32 and reorders members of struct
stk3310_data to eliminate memory padding holes, improving code
consistency and efficiency.

Patch 3 replaces hardcoded count parameters with sizeof(buf) in
regmap_bulk_read/write calls to improve code maintainability.

Miao Li (3):
  iio: light: stk3310: Deal with the ps interrupt issue in PM
  iio: light: stk3310: Replace uint32_t with u32 and reorder members to
    eliminate padding
  iio: light: stk3310: Use sizeof() for regmap_bulk_read/write count
    parameter

 drivers/iio/light/stk3310.c | 84 ++++++++++++++++++++++++++++++++-----
 1 file changed, 73 insertions(+), 11 deletions(-)

Best regards.
-- 
2.25.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-05-05  9:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-04  3:04 [PATCH v4 0/3] iio: light: stk3310: Fix PS interrupt after suspend and clean up code style Miao Li
2026-05-04  3:04 ` [PATCH v4 1/3] iio: light: stk3310: Deal with the ps interrupt issue in PM Miao Li
2026-05-04 15:34   ` Jonathan Cameron
2026-05-05  6:53   ` Andy Shevchenko
2026-05-04  3:04 ` [PATCH v4 2/3] iio: light: stk3310: Replace uint32_t with u32 and reorder members to eliminate padding Miao Li
2026-05-04  8:19   ` Joshua Crofts
2026-05-05  6:51   ` Andy Shevchenko
2026-05-04  3:04 ` [PATCH v4 3/3] iio: light: stk3310: Use sizeof() for regmap_bulk_read/write count parameter Miao Li
2026-05-04  7:11   ` Joshua Crofts
2026-05-05  6:49   ` Andy Shevchenko
2026-05-05  9:29     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox