<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/sound/soc/codecs/max98390.c, branch linux-6.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2022-09-19T14:08:07Z</updated>
<entry>
<title>ASoC: max98390: Fix dsm calibration reading</title>
<updated>2022-09-19T14:08:07Z</updated>
<author>
<name>Peter Ujfalusi</name>
<email>peter.ujfalusi@linux.intel.com</email>
</author>
<published>2022-09-16T11:13:49Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9dd28b467c35eef320a2974f6b1f209343ad8704'/>
<id>urn:sha1:9dd28b467c35eef320a2974f6b1f209343ad8704</id>
<content type='text'>
With the change introduced by 6ac246105b4f, the calibration can only be
done after the codec probe (but questionable if it is working since
203A_AMP_EN is 0) or when the codec is powered up for audio use, in other
cases "AMP is not ready to run calibration" is printed.

This changes how this worked before the patch: the codec was force powered
on for the duration of the calibration readout, then shut down.
So, if a calibration was asked when the codec was active, it would have
powered it down?

To correct the calibration logic: check if the codec is powered on and if
it is not then enable it, do the readout and put it back to disabled.
Do this while keeping the dapm locked to avoid interfering with normal
operation via DAPM.

Fixes: 6ac246105b4f ("ASoC: max98390: Remove unnecessary amp on/off conrtol")
Reported-by: Fred Oh &lt;fred.oh@linux.intel.com&gt;
Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20220916111349.4433-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: max98390: Remove unnecessary amp on/off conrtol</title>
<updated>2022-09-08T10:39:42Z</updated>
<author>
<name>Steve Lee</name>
<email>steve.lee.analog@gmail.com</email>
</author>
<published>2022-09-08T06:03:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6ac246105b4fd737ed51b8ac3ef031f837686dee'/>
<id>urn:sha1:6ac246105b4fd737ed51b8ac3ef031f837686dee</id>
<content type='text'>
 The Amp is already control in userspace before trigger calibrate function.
Remove unnecessary control in calibrate function and
add condition to check calibration is ready.

Signed-off-by: Steve Lee &lt;steve.lee.analog@gmail.com&gt;
Link: https://lore.kernel.org/r/20220908060359.13606-1-steve.lee.analog@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: max*: Remove now redundant non_legacy_dai_naming flag</title>
<updated>2022-06-27T12:17:02Z</updated>
<author>
<name>Charles Keepax</name>
<email>ckeepax@opensource.cirrus.com</email>
</author>
<published>2022-06-23T12:52:06Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d2d3219ebe568fe4ee90ac748939304f7e05a8ec'/>
<id>urn:sha1:d2d3219ebe568fe4ee90ac748939304f7e05a8ec</id>
<content type='text'>
The ASoC core has now been changed to default to the non-legacy DAI
naming, as such drivers using the new scheme no longer need to specify
the non_legacy_dai_naming flag.

Signed-off-by: Charles Keepax &lt;ckeepax@opensource.cirrus.com&gt;
Link: https://lore.kernel.org/r/20220623125250.2355471-53-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: max98390: use linux/gpio/consumer.h to fix build</title>
<updated>2022-06-06T11:38:36Z</updated>
<author>
<name>Randy Dunlap</name>
<email>rdunlap@infradead.org</email>
</author>
<published>2022-06-05T16:31:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=aa7407f807b250eca7697e5fe9a699bc6c2fab71'/>
<id>urn:sha1:aa7407f807b250eca7697e5fe9a699bc6c2fab71</id>
<content type='text'>
Change the header file to fix build errors in max98390.c:

../sound/soc/codecs/max98390.c: In function 'max98390_i2c_probe':
../sound/soc/codecs/max98390.c:1076:22: error: implicit declaration of function 'devm_gpiod_get_optional'; did you mean 'devm_regulator_get_optional'? [-Werror=implicit-function-declaration]
 1076 |         reset_gpio = devm_gpiod_get_optional(&amp;i2c-&gt;dev,
../sound/soc/codecs/max98390.c:1077:55: error: 'GPIOD_OUT_HIGH' undeclared (first use in this function); did you mean 'GPIOF_INIT_HIGH'?
 1077 |                                              "reset", GPIOD_OUT_HIGH);
../sound/soc/codecs/max98390.c:1077:55: note: each undeclared identifier is reported only once for each function it appears in
../sound/soc/codecs/max98390.c:1083:17: error: implicit declaration of function 'gpiod_set_value_cansleep'; did you mean 'gpio_set_value_cansleep'? [-Werror=implicit-function-declaration]
 1083 |                 gpiod_set_value_cansleep(reset_gpio, 0);

Fixes: 397ff0249606 ("ASoC: max98390: Add reset gpio control")
Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Cc: Steve Lee &lt;steve.lee.analog@gmail.com&gt;
Cc: Mark Brown &lt;broonie@kernel.org&gt;
Cc: Liam Girdwood &lt;lgirdwood@gmail.com&gt;
Cc: Jaroslav Kysela &lt;perex@perex.cz&gt;
Cc: Takashi Iwai &lt;tiwai@suse.com&gt;
Cc: alsa-devel@alsa-project.org
Link: https://lore.kernel.org/r/20220605163123.23537-1-rdunlap@infradead.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: max98390: Add reset gpio control</title>
<updated>2022-04-21T14:52:56Z</updated>
<author>
<name>Steve Lee</name>
<email>steve.lee.analog@gmail.com</email>
</author>
<published>2022-04-20T04:48:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=397ff024960634962af93e9e2775fc0e4fe7de92'/>
<id>urn:sha1:397ff024960634962af93e9e2775fc0e4fe7de92</id>
<content type='text'>
Add reset gpio control to support RESET PIN connected to gpio.

Signed-off-by: Steve Lee &lt;steve.lee.analog@gmail.com&gt;
Acked-by: Nuno Sá &lt;nuno.sa@analog.com&gt;
Link: https://lore.kernel.org/r/20220420044900.2989-1-steve.lee.analog@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: max9*: use simple i2c probe function</title>
<updated>2022-04-11T18:18:12Z</updated>
<author>
<name>Stephen Kitt</name>
<email>steve@sk2.org</email>
</author>
<published>2022-04-05T16:58:27Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fead49e33b3df85326cf00eb27a461a8d2ac32a1'/>
<id>urn:sha1:fead49e33b3df85326cf00eb27a461a8d2ac32a1</id>
<content type='text'>
The i2c probe functions here don't use the id information provided in
their second argument, so the single-parameter i2c probe function
("probe_new") can be used instead.

This avoids scanning the identifier tables during probes.

Signed-off-by: Stephen Kitt &lt;steve@sk2.org&gt;
Link: https://lore.kernel.org/r/20220405165836.2165310-6-steve@sk2.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: max98390: Use modern ASoC DAI format terminology</title>
<updated>2022-02-28T13:34:08Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2022-02-22T23:40:20Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c536d745adbc83abb782077a212a8cbdd7300b54'/>
<id>urn:sha1:c536d745adbc83abb782077a212a8cbdd7300b54</id>
<content type='text'>
As part of moving to remove the old style defines for the bus clocks update
the max98390 driver to use more modern terminology for clocking.

Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
Link: https://lore.kernel.org/r/20220222234026.712070-4-broonie@kernel.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: max98390: simplify getting the adapter of a client</title>
<updated>2021-09-20T14:46:40Z</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa+renesas@sang-engineering.com</email>
</author>
<published>2021-09-18T21:35:52Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0f9a84b20f14f8a5039594493a1b6f9c49bf2995'/>
<id>urn:sha1:0f9a84b20f14f8a5039594493a1b6f9c49bf2995</id>
<content type='text'>
We have a dedicated pointer for that, so use it. Much easier to read and
less computation involved.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Link: https://lore.kernel.org/r/20210918213553.14514-2-wsa+renesas@sang-engineering.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: max98390: Add support change dsm param name</title>
<updated>2021-08-09T15:06:48Z</updated>
<author>
<name>Steve Lee</name>
<email>steves.lee@maximintegrated.com</email>
</author>
<published>2021-08-09T14:21:40Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a10facb752535c078c914b1910dd72eb2e8d584b'/>
<id>urn:sha1:a10facb752535c078c914b1910dd72eb2e8d584b</id>
<content type='text'>
  In case of using different type of speaker, support
 using different dsm parameter bin file for each amp connected.

Signed-off-by: Steve Lee &lt;steves.lee@maximintegrated.com&gt;
Link: https://lore.kernel.org/r/20210809142140.9293-1-steves.lee@maximintegrated.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: max98390: Add support for tx slot configuration.</title>
<updated>2021-04-06T16:13:28Z</updated>
<author>
<name>Steve Lee</name>
<email>steves.lee@maximintegrated.com</email>
</author>
<published>2021-04-05T14:38:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e5870bd0e40c749fd96a4e565497c789bee456bf'/>
<id>urn:sha1:e5870bd0e40c749fd96a4e565497c789bee456bf</id>
<content type='text'>
 Update voltage/current tx slot configuration support.

Signed-off-by: Steve Lee &lt;steves.lee@maximintegrated.com&gt;
Link: https://lore.kernel.org/r/20210405143801.29770-1-steves.lee@maximintegrated.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
