uxa: Fix Backlight option support.
Signed-off-by: Сковорода Никита Андреевич <chalkerx@gmail.com>
This commit is contained in:
parent
a972affe0c
commit
3dc644b2a9
|
|
@ -262,7 +262,7 @@ intel_output_backlight_init(xf86OutputPtr output)
|
|||
int i;
|
||||
|
||||
str = xf86GetOptValString(intel->Options, OPTION_BACKLIGHT);
|
||||
if (str == NULL) {
|
||||
if (str != NULL) {
|
||||
sprintf(path, "%s/%s", BACKLIGHT_CLASS, str);
|
||||
if (!stat(path, &buf)) {
|
||||
intel_output->backlight_iface = backlight_interfaces[i];
|
||||
|
|
|
|||
Loading…
Reference in New Issue