[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87k1xah0e5.wl%kuninori.morimoto.gx@renesas.com>
Date: Mon, 25 Dec 2017 23:17:29 +0000
From: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To: Ryan Lee <RyanS.Lee@...imintegrated.com>
Cc: "lgirdwood@...il.com" <lgirdwood@...il.com>,
"broonie@...nel.org" <broonie@...nel.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"mark.rutland@....com" <mark.rutland@....com>,
"perex@...ex.cz" <perex@...ex.cz>,
"tiwai@...e.com" <tiwai@...e.com>, "arnd@...db.de" <arnd@...db.de>,
"afd@...com" <afd@...com>,
"robert.jarzmik@...e.fr" <robert.jarzmik@...e.fr>,
"supercraig0719@...il.com" <supercraig0719@...il.com>,
"jbrunet@...libre.com" <jbrunet@...libre.com>,
"dannenberg@...com" <dannenberg@...com>,
"romain.perier@...labora.com" <romain.perier@...labora.com>,
"bryce.ferguson@...kwellcollins.com"
<bryce.ferguson@...kwellcollins.com>,
"m-stecklein@...com" <m-stecklein@...com>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"ryan.lee.maxim@...il.com" <ryan.lee.maxim@...il.com>
Subject: Re: [PATCH] ASoC: max98373: Added Amplifier Driver
Hi Ryan
> >About this max98373->codec.
> >This user is only max98373_set_clock(), and it is called from
> >max98373_dai_hw_params().
> >You are getting *codec from dai->codec in this function, and max98373 is
> >came from it.
> >This means, we can remove max98373->codec ?
>
> Thanks for your feedback.
> I will remove max98373->codec and change related things.
Thanks
> I'm sorry but I don't fully understand the benefit of this.
> Keeping regmap information in private driver data is very common and I can see many ASoC drivers are using it.
> I was able to see only a few driver use ' snd_soc_component_read'.
> I would like to keep regmap_read/write if it is still acceptable.
I checked other drivers.
Having private regmap seems a little bit duplicate for me,
because we can get it from component or dev.
But sometimes, in some drivers, it seems can be difficult.
Sorry for my noise.
Best regards
---
Kuninori Morimoto
Powered by blists - more mailing lists