i2c: pxa: don't error out if there's no pinctrl
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 2 Jun 2020 19:38:23 +0000 (21:38 +0200)
committerWolfram Sang <wsa@kernel.org>
Wed, 3 Jun 2020 20:37:37 +0000 (22:37 +0200)
commit9fa060df65715732655f7f46fe7fa68fc1a5b98e
treec8a26b7322df8b175228df18fc9f3875b630638b
parentfad5972a1eca71c797e2e209ec403ade9bf69384
i2c: pxa: don't error out if there's no pinctrl

The bus recovery patch regresses on OLPC XO-1.75 that has no pinctrl in
its DT.

Fixes: 7c9ec2c52518 ("i2c: pxa: implement generic i2c bus recovery")'
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-pxa.c