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:   Sat, 5 Jan 2019 10:16:22 +0530
From:   b-ak <anur.bhargav@...il.com>
To:     Mark Brown <broonie@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ASoC: tlv320aic32x4: Kernel OOPS while entering DAPM
 standby mode

On Fri, Jan 04, 2019 at 10:10:40PM +0530, b-ak wrote:
> On Fri, Jan 04, 2019 at 01:04:21AM +0530, b-ak wrote:
> > On Thu, Jan 03, 2019 at 12:45:54PM +0000, Mark Brown wrote:
> > > On Wed, Jan 02, 2019 at 10:36:33PM +0530, b-ak wrote:
> > > > During the bootup of the kernel, as soon as the DAPM framework kicks in
> > > > it pushes the codec into standy mode.
> > > > 
> > > > The existing TVL320AIC32x4 codec driver doesn't prepare the clock in
> > > > the probe function.
> > > > This leads to an OOPS when the DAPM tries to put it into standy by calling
> > > > clk_disable_unprepare()
> > > > 
> > > > This patch fixes that problem.
> > > 
> > > This isn't the best way of fixing this because it makes it look like
> > > there's a missing disable in the removal process.  What would be better
> > > would be to do what other drivers do and check to see what state we're
> > > transitioning from before we disable the clock in set_bias_level().  See
> > > drivers like wm8903.c for examples.
> > 
> > Hello Mark,
> > 
> > I will test the change and update the patch.
> > 
> > Thanks,
> > Bhargav
> > 
> 
> Hi Mark,
> 
> I have updated the patch with the changes.
> 
> Regards,
> Bhargav
> 

Hi Mark,

Fixed the build error.

Thanks,
Bhargav


View attachment "0001-ASoC-tlv320aic32x4-Kernel-OOPS-while-entering-DAPM-s.patch" of type "text/x-diff" (1351 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ