Boolean module parameters are exposed as "Y"/"N" strings, not 0/1.
Make igt_sysfs_get_boolean() helper useful for getting their values.
Signed-off-by: Janusz Krzysztofik
Cc: Chris Wilson
---
lib/igt_sysfs.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git
Quoting Janusz Krzysztofik (2019-12-10 14:25:31)
> Boolean module parameters are exposed as "Y"/"N" strings, not 0/1.
> Make igt_sysfs_get_boolean() helper useful for getting their values.
>
> Signed-off-by: Janusz Krzysztofik
> Cc: Chris Wilson
> ---
> lib/igt_sysfs.c | 14 +-
> 1