On 3 Jul 2010, at 23:32, Grazvydas Ignotas notasas@gmail.com wrote:
On Sat, Jul 3, 2010 at 3:06 AM, Mark Brown broonie@opensource.wolfsonmicro.com wrote:
On Sat, Jul 03, 2010 at 01:50:50AM +0300, Grazvydas Ignotas wrote:
there seems to be a problem with TWL4030 hw_param programming, which is easy to reproduce over OSS emulation with this simple program:
OSS emulation is strongly disrecommended due to the fact that it repeatedly reprograms things using partially valid configurations. Some drivers will refuse to run with it.
Well it used to work fine on OMAP+TWL until one of Peter's rework patches, I guess 6b87a91f (haven't really bisected), hope we can find some solution. We have some closed OSS programs that we can't drop, unfortunately. I know userspace OSS emulation solutions exist, but it wouldn't hurt to have more options.
OSS is dying in mainline, distributions are desupporting it and it's just painful all round to carry the bodges for it in kernel, so I really would recommend exploring the userspace solutions if you need to interoperate with this unfixable userspace stuff. I'd anticipate you will run into further issues going forward with kernel side changes, and it gives you more room to do things like soft mixing in your userspace stack too.