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] [day] [month] [year] [list]
Date:   Mon, 18 Jul 2022 15:35:16 +0100
From:   Mark Brown <broonie@...nel.org>
To:     Zheyu Ma <zheyuma97@...il.com>
Cc:     lgirdwood@...il.com, perex@...ex.cz, tiwai@...e.com,
        Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
        wtli@...oton.com, steve@....org, Vijendar.Mukunda@....com,
        alsa-devel@...a-project.org,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [BUG] ASoC: nau8821: Found a bug when removing the module

On Sat, Jul 16, 2022 at 05:12:38PM +0800, Zheyu Ma wrote:
> Hello,
> 
> I found a bug in the driver nau8821.
> 
> When removing the module, I got a warning:
> 
> [   64.226442] nau8821 0-0010: remove
> [   64.227621] ------------[ cut here ]------------
> [   64.227918] WARNING: CPU: 5 PID: 243 at kernel/irq/devres.c:144
> devm_free_irq+0x80/0x8c
> [   64.235307] Call trace:
> [   64.235501]  devm_free_irq+0x80/0x8c
> [   64.235746]  nau8821_i2c_remove+0x28/0x3c [snd_soc_nau8821]
> [   64.236982]  i2c_device_remove+0xcc/0xf8

I'm guessing you have no interrupt on this platform, or that jack detect
isn't used since the driver currently only requests the interrupt when
that's enabled (which is a bit dodgy but not the immediate issue).  I've
sent a patch

	https://lore.kernel.org/r/20220718140405.57233-1-broonie@kernel.org

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ