From: Mark Brown <broonie@kernel.org>
To: Jiaxin Yu <jiaxin.yu@mediatek.com>
Cc: alsa-devel@alsa-project.org, shane.chien@mediatek.com,
howie.huang@mediatek.com, tiwai@suse.com,
bicycle.tasi@mediatek.com, linux-kernel@vger.kernel.org,
tzungbi@google.com, robh+dt@kernel.org,
linux-mediatek@lists.infradead.org, eason.yen@mediatek.com,
matthias.bgg@gmail.com, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 1/2] WIP: ASoC: mediatek: mt6359: add codec driver
Date: Fri, 14 Aug 2020 17:01:15 +0100 [thread overview]
Message-ID: <20200814160115.GC4783@sirena.org.uk> (raw)
In-Reply-To: <1597401954-28388-2-git-send-email-jiaxin.yu@mediatek.com>
[-- Attachment #1.1: Type: text/plain, Size: 524 bytes --]
On Fri, Aug 14, 2020 at 06:45:53PM +0800, Jiaxin Yu wrote:
This looks mostly good, a couple of very small things:
> + ret = regulator_enable(priv->avdd_reg);
> + if (ret) {
> + dev_err(&pdev->dev, "%s(), failed to enable regulator!\n",
> + __func__);
> + return ret;
> + }
You need a remove() function to undo this enable.
> + dev_info(&pdev->dev, "%s(), dev name %s\n",
> + __func__, dev_name(&pdev->dev));
This isn't really adding anything, just remove it - it's not reading
info from the hardware or anything.
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-08-14 16:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-14 10:45 [PATCH v3 0/2] Add mediatek codec mt6359 driver Jiaxin Yu
2020-08-14 10:45 ` [PATCH v3 2/2] WIP: dt-bindings: mediatek: mt6359: add codec document Jiaxin Yu
2020-08-14 13:18 ` [PATCH v3 0/2] Add mediatek codec mt6359 driver Tzung-Bi Shih
[not found] ` <1597401954-28388-2-git-send-email-jiaxin.yu@mediatek.com>
2020-08-14 16:01 ` Mark Brown [this message]
2020-08-15 17:27 ` [PATCH v3 1/2] WIP: ASoC: mediatek: mt6359: add codec driver Jiaxin Yu
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=20200814160115.GC4783@sirena.org.uk \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=bicycle.tasi@mediatek.com \
--cc=eason.yen@mediatek.com \
--cc=howie.huang@mediatek.com \
--cc=jiaxin.yu@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=shane.chien@mediatek.com \
--cc=tiwai@suse.com \
--cc=tzungbi@google.com \
/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;
as well as URLs for NNTP newsgroup(s).