-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
touchscreen-compatible
cause crashing when status
property is missng
#482
Comments
This is an possible fix
In my opinion missing |
I'd argue this is a bit problematic in case that the said dt has multiple touchscreen nodes with one being "enabled by default", then if we "enable" some other node, we suddenly have two conflicting nodes. failing to boot on missing status at least highlights that possibility. i.e. I'd argue that if multiple touchscreen nodes exist, they all should be status=disabled, and if there is only one, there is no need in lk2nd touching it at all (so touchscreen-compatible prop can be dropped from lk2nd dt) I somewhat fail to understand the different usecase here, what do you think? |
I think a warning would be enough for this case.
My issue is backward compatibility after |
I'm afraid noone will see this warning but I guess if everyone is careful with those, then it's fine. Feel free to make a PR with a proposed change then |
I have found out
touchscreen-compatible
makes lk2nd to crash when a touchscreen node have not gotthe
status
property.Crashing:
Not Crashing:
The text was updated successfully, but these errors were encountered: