lkml.org 
[lkml]   [2017]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2] spmi: pmic-arb: Enforce the ownership check optionally
On Tue, Aug 22, 2017 at 01:31:32PM -0700, Stephen Boyd wrote:
> Also, I see that on v4.13-rc series the read/write checks are
> causing the led driver to fail in a different way:
>
> spmi spmi-0: error: impermissible write to peripheral sid:0 addr:0xc040
> qcom-spmi-gpio 200f000.spmi:pm8916@0:gpios@c000: write 0x40 failed
> leds-gpio soc:leds: Error applying setting, reverse things back
> spmi spmi-0: error: impermissible write to peripheral sid:0 addr:0xc041
> qcom-spmi-gpio 200f000.spmi:pm8916@0:gpios@c000: write 0x41 failed
> leds-gpio: probe of soc:leds failed with error -1
>
> Are you seeing similar behavior?

Yes. I forgot to mention that, and leds-gpio failure is gone after
applying Kiran's patch below.

spmi: pmic-arb: remove the read/write access checks

Shawn

\
 
 \ /
  Last update: 2017-08-24 14:19    [W:0.179 / U:1.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site