Re: [PATCH] gpio: revert get() to non-errorprogating behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 17, 2015 at 10:26 PM, Bjorn Andersson
<bjorn.andersson@xxxxxxxxxxxxxx> wrote:
> On Thu 17 Dec 01:21 PST 2015, Linus Walleij wrote:
>
>> commit e20538b82f1ffcc06e68feb117f24f211cff7a4d
>> "gpio: Propagate errors from chip->get()"
>> started to propagate errors from the .get() functions since
>> we can get errors from the infrastructure of e.g. slowbus
>> GPIO expanders.
>>
>> However it turns out a bunch of drivers relied on the core
>> to clamp the value, so we need to revert to the old behaviour
>> and go over all drivers and fix them to conform to the
>> expectations of the core before we go back to propagating
>> the error code.
>>
>
> Okay, lets fix the drivers and then revert this revert.

Yups, I'll send out a serious patch series later today
fixing all affected drivers and then reverting the revert.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux