[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250420175419.889544-1-gshahrouzi@gmail.com>
Date: Sun, 20 Apr 2025 13:54:16 -0400
From: Gabriel Shahrouzi <gshahrouzi@...il.com>
To: gregkh@...uxfoundation.org,
jic23@...nel.org,
lars@...afoo.de,
linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-staging@...ts.linux.dev,
Michael.Hennerich@...log.com
Cc: gshahrouzi@...il.com,
skhan@...uxfoundation.org,
linux-kernel-mentees@...ts.linux.dev
Subject: [PATCH v3 0/3] Fix and refactor output disable logic
Patch 1 includes the initial fix.
Patch 2 refactors the code to use the out_altvoltage_powerdown ABI.
Patch 3 adds small improvements by minimizing the size of types and
doing a redundancy check.
Not sure whether to include a read function for powerdown as well since
all the other attributes only had write permissions. I can also do this
for the other attributes to help modernize the driver.
Changes in v3:
- Include version log in cover letter.
Changes in v2:
- Refactor and make small improvements ontop of the initial fix.
Gabriel Shahrouzi (3):
iio: frequency: Use SLEEP bit instead of RESET to disable output
staging: iio: ad9832: Refactor powerdown control
staging: iio: ad9832: Add minor improvements to ad9832_write_powerdown
drivers/staging/iio/frequency/ad9832.c | 50 ++++++++++++++++++--------
1 file changed, 36 insertions(+), 14 deletions(-)
--
2.43.0
Powered by blists - more mailing lists