From: Jonathan Cameron <jic23@kernel.org>
To: "Ondřej Jirman" <megi@xff.cz>
Cc: Lars-Peter Clausen <lars@metafoo.de>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Andrey Skvortsov <andrej.skvortzov@gmail.com>,
Icenowy Zheng <icenowy@aosc.io>,
Dalton Durst <dalton@ubports.com>,
Shoji Keita <awaittrot@shjk.jp>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 3/4] iio: magnetometer: add a driver for Voltafield AF8133J magnetometer
Date: Sat, 24 Feb 2024 11:16:33 +0000 [thread overview]
Message-ID: <20240224111633.1485c165@jic23-huawei> (raw)
In-Reply-To: <bul6syabdw353oqomcbdz75b56q5yjgslczbw7d6yxfkxvy3hn@3yz3yusfzrlo>
Hi Ondřej,
Quick process comment.
Please crop replies to avoid never ending scrolling and more importantly
a high chance of what you actually want to say being missed!
> > +static int af8133j_probe(struct i2c_client *client)
> > +{
...
> > + ret = devm_iio_triggered_buffer_setup(dev, indio_dev, NULL,
> > + &af8133j_trigger_handler, NULL);
> > + if (ret)
> > + return dev_err_probe(&client->dev, ret,
> > + "Failed to setup iio triggered buffer\n");
> > +
> > + ret = devm_iio_device_register(dev, indio_dev);
> > + if (ret)
> > + return dev_err_probe(dev, ret, "Failed to register iio device");
> > +
> > + pm_runtime_get_noresume(dev);
> > + pm_runtime_use_autosuspend(dev);
> > + pm_runtime_set_autosuspend_delay(dev, 500);
> > + ret = devm_pm_runtime_enable(dev);
> > + if (ret)
> > + return ret;
>
> Ah, forgot to move this up. Oh, well. I'll send v4.
>
> kind regards,
> o.
>
> > + pm_runtime_put_autosuspend(dev);
> > +
> > + return 0;
> > +}
> > +
next prev parent reply other threads:[~2024-02-24 11:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-16 18:49 [PATCH v3 0/4] Add support for AF8133J magnetometer Ondřej Jirman
2024-02-16 18:49 ` [PATCH v3 1/4] dt-bindings: vendor-prefix: Add prefix for Voltafield Ondřej Jirman
2024-02-16 18:50 ` [PATCH v3 2/4] dt-bindings: iio: magnetometer: Add Voltafield AF8133J Ondřej Jirman
2024-02-16 18:50 ` [PATCH v3 3/4] iio: magnetometer: add a driver for Voltafield AF8133J magnetometer Ondřej Jirman
2024-02-17 19:28 ` Ondřej Jirman
2024-02-24 11:16 ` Jonathan Cameron [this message]
2024-02-16 18:50 ` [PATCH v3 4/4] MAINTAINERS: Add an entry for AF8133J driver Ondřej Jirman
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=20240224111633.1485c165@jic23-huawei \
--to=jic23@kernel.org \
--cc=andrej.skvortzov@gmail.com \
--cc=awaittrot@shjk.jp \
--cc=conor+dt@kernel.org \
--cc=dalton@ubports.com \
--cc=devicetree@vger.kernel.org \
--cc=icenowy@aosc.io \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=megi@xff.cz \
--cc=robh+dt@kernel.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