Merge remote-tracking branches 'asoc/fix/ad1980' and 'asoc/fix/isabelle' into asoc...
[cascardo/linux.git] / drivers / video / fbmem.c
index e296967..7309ac7 100644 (file)
@@ -1941,6 +1941,9 @@ int fb_get_options(const char *name, char **option)
                                options = opt + name_len + 1;
                }
        }
+       /* No match, pass global option */
+       if (!options && option && fb_mode_option)
+               options = kstrdup(fb_mode_option, GFP_KERNEL);
        if (options && !strncmp(options, "off", 3))
                retval = 1;