Linux IIO development
 help / color / mirror / Atom feed
From: Zhang Qilong <zhangqilong3@huawei.com>
To: <jic23@kernel.org>, <lars@metafoo.de>, <wens@csie.org>,
	<jernej.skrabec@gmail.com>, <samuel@sholland.org>
Cc: <linux-iio@vger.kernel.org>, <linux-sunxi@lists.linux.dev>
Subject: [PATCH v2 0/2] iio: adc: sun4i-gpadc-iio: Fix error handle in sun4i_gpadc_probe()
Date: Thu, 20 Oct 2022 20:40:43 +0800	[thread overview]
Message-ID: <20221020124045.77678-1-zhangqilong3@huawei.com> (raw)

This patch set fix three bugfixs include:

1) If thermal_zone_of_sensor_register() failed, PM disable
   depth will be imbalanced and iio_map_array may have been
   called. The first patch fixed them.

2) If devm_iio_device_register() failed, we don't revert
   thermal_zone registration. The second patch fix it.

Zhang Qilong (2):
  iio: adc: sun4i-gpadc-iio: Fix PM disable depth imbalance in
    sun4i_gpadc_probe()
  iio: adc: sun4i-gpadc-iio: Fix error handle when
    devm_iio_device_register() failed in sun4i_gpadc_probe()

 drivers/iio/adc/sun4i-gpadc-iio.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

-- 
2.25.1


             reply	other threads:[~2022-10-20 12:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-20 12:40 Zhang Qilong [this message]
2022-10-20 12:40 ` [PATCH v2 1/2] iio: adc: sun4i-gpadc-iio: Fix PM disable depth imbalance in sun4i_gpadc_probe() Zhang Qilong
2022-10-23 12:31   ` Jonathan Cameron
2022-10-20 12:40 ` [PATCH v2 2/2] iio: adc: sun4i-gpadc-iio: Fix error handle when devm_iio_device_register() failed " Zhang Qilong
2022-10-23 12:29   ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221020124045.77678-1-zhangqilong3@huawei.com \
    --to=zhangqilong3@huawei.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=samuel@sholland.org \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox