Re: Overo broken after recent mainline merge

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

 



On Saturday 14 March 2009, Mark Brown wrote:
> > A third approach (after applying that one patch that's
> > in the regulator-next tree) would be
> 
> >       if (rdev->is_enabled() > 0)
> >               rdev->use_count = 1;
> 
> That won't work with consumers that can share their supply - they can't
> tell if the regulator was enabled because it was left on at startup or
> if it was enabled by some other consumer.

It works *exactly* like it would if the bootloader were
able to poke the "boot_on" flag for each regulator it
left enabled.

It also helps that the typical scenario I need to care
about is where there's only one consumer ... but in any
case, the change sketched above can't add new problems.

- Dave

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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux