Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH v5 0/3] iio: adc: ingenic-adc: use guard()() to handle synchronisation and refactor lock-held helpers
@ 2026-05-06  2:24 Felipe Ribeiro de Souza
  2026-05-06  2:24 ` [PATCH v5 1/3] iio: adc: ingenic-adc: rename ingenic_adc_enable_unlocked() function Felipe Ribeiro de Souza
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Felipe Ribeiro de Souza @ 2026-05-06  2:24 UTC (permalink / raw)
  To: andy, dlechner, jic23, nuno.sa, paul
  Cc: Felipe Ribeiro de Souza, linux-iio, linux-mips

In drivers/iio/adc/ingenic-adc.c:
- Refactor ingenic_adc_read_chan_info_raw() and ingenic_adc_enable_unlocked()
- Replace mutex_lock() and mutex_unlock() calls with guard()()

Felipe Ribeiro de Souza (3):
  iio: adc: ingenic-adc: rename ingenic_adc_enable_unlocked() function
  iio: adc: ingenic-adc: refactor ingenic_adc_read_chan_info_raw()
  iio: adc: ingenic-adc: use guard()() and scoped_guard() to handle
    synchronisation

 drivers/iio/adc/ingenic-adc.c | 68 ++++++++++++++++++-----------------
 1 file changed, 35 insertions(+), 33 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-05-06 18:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06  2:24 [PATCH v5 0/3] iio: adc: ingenic-adc: use guard()() to handle synchronisation and refactor lock-held helpers Felipe Ribeiro de Souza
2026-05-06  2:24 ` [PATCH v5 1/3] iio: adc: ingenic-adc: rename ingenic_adc_enable_unlocked() function Felipe Ribeiro de Souza
2026-05-06  2:24 ` [PATCH v5 2/3] iio: adc: ingenic-adc: refactor ingenic_adc_read_chan_info_raw() Felipe Ribeiro de Souza
2026-05-06  2:24 ` [PATCH v5 3/3] iio: adc: ingenic-adc: use guard()() and scoped_guard() to handle synchronisation Felipe Ribeiro de Souza
2026-05-06  9:19   ` Andy Shevchenko
2026-05-06  9:20 ` [PATCH v5 0/3] iio: adc: ingenic-adc: use guard()() to handle synchronisation and refactor lock-held helpers Andy Shevchenko
2026-05-06 18:12   ` Jonathan Cameron

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