Re: i2c-designware: NULL ptr at RIP: 0010:regmap_read+0x12/0x70

From: Jarkko Nikula
Date: Tue Jan 09 2024 - 05:12:06 EST


Hi

On 1/9/24 09:56, V, Narasimhan wrote:
* Looks like the issue is with this below commit:
* i2c: designware: Fix lock probe call order in dw_i2c_plat_probe()

Hmm... This makes me even more confused since your device AMDI0010 should not even use the access semaphore.

So linux-next works if you run a commit before it or revert these three patches? (commit 2f571a725434 ("i2c: designware: Fix lock probe call order in dw_i2c_plat_probe()") doesn't revert without reverting two other related commits after it)

git show f9b51f600217b38f46ea39d6aa445e594bf3eb30 |patch -p1 -R
git show b8034c7d28a988be82efbf4d65faa847334811f7 |patch -p1 -R
git show 2f571a72543463ef07dc3ac61e7b703b9ad997f9 |patch -p1 -R