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]
Message-ID: <CA+Px+wU_tjgWgG_xPR6SNBC5oM3nzVnhxjD85mrxfZW+_w6mKQ@mail.gmail.com>
Date:   Wed, 13 May 2020 19:58:12 +0800
From:   Tzung-Bi Shih <tzungbi@...gle.com>
To:     Mark Brown <broonie@...nel.org>
Cc:     Steve Lee <steves.lee.maxim@...il.com>, jack.yu@...ltek.com,
        ALSA development <alsa-devel@...a-project.org>,
        ryan.lee.maxim@...il.com, ckeepax@...nsource.cirrus.com,
        ryans.lee@...imintegrated.com, steves.lee@...imintegrated.com,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Takashi Iwai <tiwai@...e.com>,
        Krzysztof Kozlowski <krzk@...nel.org>,
        Liam Girdwood <lgirdwood@...il.com>, nuno.sa@...log.com,
        geert@...ux-m68k.org, dmurphy@...com,
        Shuming [θŒƒζ›ΈιŠ˜] <shumingf@...ltek.com>,
        Srini Kandagatla <srinivas.kandagatla@...aro.org>,
        rf@...nsource.wolfsonmicro.com
Subject: Re: [V3 PATCH 2/2] ASoC: max98390: Added Amplifier Driver

On Wed, May 13, 2020 at 6:53 PM Mark Brown <broonie@...nel.org> wrote:
>
> On Wed, May 13, 2020 at 04:45:23PM +0900, Steve Lee wrote:
>
> > Changes since V2:
> >       * Removed warn massage in max98390_dsm_calib_get func
> >         and add comment.
>
> The problem isn't the warning, the problem is that you have an empty
> operation.  You should either implement the function (eg, by caching the
> value written) or remove it and fix whatever problems you were running
> into further up the stack when it's missing.

The purpose for the mixer control is: to signal max98390 to start to
calibrate from userspace.
Thus,
max98390_dsm_calib_get() -> do nothing.
max98390_dsm_calib_put() -> call max98390_dsm_calibrate().

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ