On 2015-05-20 11:01, Mauro Carvalho Chehab wrote:
Em Wed, 20 May 2015 10:49:34 +0200
David Härdeman <da...@hardeman.nu> escreveu:

On 2015-05-20 10:19, Mauro Carvalho Chehab wrote:
> Em Tue, 19 May 2015 22:34:42 +0200
> David Härdeman <da...@hardeman.nu> escreveu:
>> I think we should be able to at least not break userspace by still
>> accepting (and ignoring) commands to enable/disable lirc.
>
> Well, ignoring is not a good idea, as it still breaks userspace, but
> on a more evil way. If one is using this feature, we'll be receiving
> bug reports and fixes for it.

I disagree it's more "evil" (or at least I fail to see how it would be).

Because the Kernel would be lying to userspace. If one tells the Kernel to disable something, it should do it, or otherwise return an error explaining
why disabling was not possible.

Would really you be happier with a patch so that writing "-lirc" to the sysfs file returns an error?


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

Reply via email to