[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6dae2b2d-b482-4e29-4543-62126780725c@linux.intel.com>
Date: Thu, 1 Apr 2021 09:31:56 -0500
From: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
To: Vinod Koul <vkoul@...nel.org>,
Bard Liao <yung-chuan.liao@...ux.intel.com>
Cc: alsa-devel@...a-project.org, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, hui.wang@...onical.com,
sanyog.r.kale@...el.com, rander.wang@...ux.intel.com,
bard.liao@...el.com
Subject: Re: [PATCH] soundwire: intel_init: test link->cdns
On 4/1/21 2:21 AM, Vinod Koul wrote:
> On 31-03-21, 09:02, Bard Liao wrote:
>> intel_link_probe() could return error and dev_get_drvdata() will return
>> null in such case. So we have to test link->cdns after
>> link->cdns = dev_get_drvdata(&ldev->auxdev.dev);
>> Otherwise, we will meet the "kernel NULL pointer dereference" error.
>
> This fails to apply for me
probably a dependency on the auxiliary bus transition?
Powered by blists - more mailing lists