lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 18 Mar 2021 19:34:06 +0530
From:   "Mukunda,Vijendar" <vijendar.mukunda@....com>
To:     Mark Brown <broonie@...nel.org>
Cc:     alsa-devel@...a-project.org, shumingf@...ltek.com,
        flove@...ltek.com, derek.fang@...ltek.com,
        Alexander.Deucher@....com, Basavaraj.Hiregoudar@....com,
        Sunil-kumar.Dommati@....com, Liam Girdwood <lgirdwood@...il.com>,
        Jaroslav Kysela <perex@...ex.cz>,
        Takashi Iwai <tiwai@...e.com>,
        Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
        Arnd Bergmann <arnd@...db.de>,
        Ravulapati Vishnu vardhan rao 
        <Vishnuvardhanrao.Ravulapati@....com>,
        Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
        Chuhong Yuan <hslester96@...il.com>,
        open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v4 1/2] ASoC: amd: Add support for RT5682 codec in machine
 driver



On 18/03/21 6:30 pm, Mark Brown wrote:
> On Thu, Mar 18, 2021 at 02:03:46AM +0530, Vijendar Mukunda wrote:
>> +++ b/sound/soc/amd/acp-da7219-max98357a.c
>> @@ -1,27 +1,8 @@
>> -/*
>> - * Machine driver for AMD ACP Audio engine using DA7219 & MAX98357 codec
>> - *
>> - * Copyright 2017 Advanced Micro Devices, Inc.
> 
> The conversion to SPDX really feels like it should at least be called
> out in the changelog, and probably a separate change.
> 
will upload SPDX changes as a separate patch.
>> +	/*
>> +	 * Set wclk to 48000 because the rate constraint of this driver is
>> +	 * 48000. ADAU7002 spec: "The ADAU7002 requires a BCLK rate that is
>> +	 * minimum of 64x the LRCLK sample rate." RT5682 is the only clk
>> +	 * source so for all codecs we have to limit bclk to 64X lrclk.
>> +	 */
>> +	clk_set_rate(rt5682_dai_wclk, 48000);
>> +	clk_set_rate(rt5682_dai_bclk, 48000 * 64);
> 
> The driver should really check the return value of clk_set_rate(), it
> can fail.
> 
We will add checks for return value of clk_set_rate() and will upload 
new version

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ