mbox series

[v5,0/2] iio: adc: ads7950: add gpio support

Message ID 1552082608-42603-1-git-send-email-justinpopo6@gmail.com (mailing list archive)
Headers show
Series iio: adc: ads7950: add gpio support | expand

Message

Justin Chen March 8, 2019, 10:03 p.m. UTC
From: Justin Chen <justinpopo6@gmail.com>

v5
Fixed ordering of how things are initalized.
Fixed incomplete cleanup on error.
Fixed double mutex_unlock.

v4
Split patch into two commits.
Refractored code to capture the state of the adc instead of only the GPIOs.
Added comments to clarify the intend of the code.
Fix improper use of mlock.

Justin Chen (2):
  iio: adc: ti-ads7950: Fix improper use of mlock
  iio: adc: ti-ads7950: add GPIO support

 drivers/iio/adc/ti-ads7950.c | 219 +++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 209 insertions(+), 10 deletions(-)