This way we can simplify the setup and teardown a bit.
Because we don't actually allocate anything anymore for the force_bit
case, we can now convert that into a boolean.
Also and the functionality supported by the bit-banging together with
what gmbus can do, so that this doesn't randomly change
On Tue, Feb 14, 2012 at 19:37, Daniel Vetter wrote:
>/* Hardware may not support GMBUS over these pins? Try GPIO
> bitbanging instead. */
> - bus->force_bit = intel_gpio_create(bus, bus->reg0 & 0xff);
> - if (!bus->force_bit)
> - ret = -ENOMEM;
> - else
> -
On Tue, Feb 14, 2012 at 19:37, Daniel Vetter wrote:
>/* Hardware may not support GMBUS over these pins? Try GPIO
> bitbanging instead. */
> - bus->force_bit = intel_gpio_create(bus, bus->reg0 & 0xff);
> - if (!bus->force_bit)
> - ret = -ENOMEM;
> - else
> -
This way we can simplify the setup and teardown a bit.
Because we don't actually allocate anything anymore for the force_bit
case, we can now convert that into a boolean.
Also and the functionality supported by the bit-banging together with
what gmbus can do, so that this doesn't randomly change