Re: [PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900
From: Maxime Ripard
Date: Mon Jun 01 2015 - 05:50:12 EST
On Sat, May 30, 2015 at 12:14:30PM +0200, Pavel Machek wrote:
> Well... the driver was not broken... before you did "cleanup" that did
> two functional changes. And yes, the dts should be fixed, but that
> does not make your "cleanup" good.
Whether it's good or not is arguable, and it really boils down to what
we consider the default value when properties are missing.
If it's 0, then my code does the right thing. If it's undefined, well,
I'd expect undefined behaviour to change without any notice.
Feel free to suggest any better solution.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Attachment:
signature.asc
Description: Digital signature