From: Vinod Koul <vkoul@kernel.org>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.com>,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
Oder Chiou <oder_chiou@realtek.com>,
Shuming Fan <shumingf@realtek.com>, Takashi Iwai <tiwai@suse.de>
Subject: Re: [PATCH 4/4] ASoC: rt715: Fix return check for devm_regmap_init_sdw()
Date: Wed, 26 Aug 2020 21:51:01 +0530 [thread overview]
Message-ID: <20200826162101.GE2639@vkoul-mobl> (raw)
In-Reply-To: <e71ba625-ec1e-1adf-9e4c-b65a91562d9c@linux.intel.com>
On 26-08-20, 10:09, Pierre-Louis Bossart wrote:
>
>
> On 8/26/20 7:28 AM, Vinod Koul wrote:
> > devm_regmap_init_sdw() returns a valid pointer on success or ERR_PTR on
> > failure which should be checked with IS_ERR. Also use PTR_ERR for
> > returning error codes.
>
> Do you mind changing these two additional codecs that were missed in this
> series? Thanks!
>
> rt700-sdw.c: sdw_regmap = devm_regmap_init_sdw(slave, &rt700_sdw_regmap);
> rt700-sdw.c- if (!sdw_regmap)
> rt700-sdw.c- return -EINVAL;
Yes missed this one
>
> --
> rt711-sdw.c: sdw_regmap = devm_regmap_init_sdw(slave, &rt711_sdw_regmap);
> rt711-sdw.c- if (!sdw_regmap)
> rt711-sdw.c- return -EINVAL;
And somehow patch series is messed, I have two 2/4 but no 3/4 which
patches rt711-sdw.c, will send v2 with these fixed
--
~Vinod
prev parent reply other threads:[~2020-08-26 16:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-26 12:28 [PATCH 1/4] ASoC: max98373: " Vinod Koul
2020-08-26 12:28 ` [PATCH 2/4] ASoC: rt1308-sdw: " Vinod Koul
2020-08-26 12:28 ` Vinod Koul
2020-08-26 12:28 ` [PATCH 4/4] ASoC: rt715: " Vinod Koul
2020-08-26 15:09 ` Pierre-Louis Bossart
2020-08-26 16:21 ` Vinod Koul [this message]
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=20200826162101.GE2639@vkoul-mobl \
--to=vkoul@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oder_chiou@realtek.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=shumingf@realtek.com \
--cc=tiwai@suse.com \
--cc=tiwai@suse.de \
/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
all inboxes | Powered by JetHome®