Re: [PATCH v2] ptp: Add sysfs attribute to show PTP device is safe to open RO
From: Wojtek Wasko <hidden>
Date: 2025-05-20 08:56:07
From: Wojtek Wasko <hidden>
Date: 2025-05-20 08:56:07
On Mon, May 19, 2025 at 05:56PM, Greg K-H wrote:
This is not how to use sysfs, sorry. We do NOT use it for "feature flags" like this. Userspace should do something else to determine if the feature is there or not, or just default to "do not allow" if it can not figure it out. sorry, but this change is not ok.
Thanks for explaining this. I'll find a way to make it work in userspace. Wojtek