commit | a0b1b73c5c5eac5c71ab440e8f7e698d4d1c7b71 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Dec 21 14:37:45 2014 +0100 |
committer | Hans de Goede <hdegoede@redhat.com> | Wed Jan 14 14:56:39 2015 +0100 |
tree | ef2aa20698eddb1f49bbec22445f447a9fc60043 | |
parent | 1fc9c4ab142a9da98499992760992f11306369f4 [diff] |
sunxi: video: Improve monitor video-mode option handling Add a sunxi_monitor enum and parse the monitor option string into this enum once, rather then doing strcmp-s on it in various places. This also adds checking for it being a valid value. This also adds new "none" and "lcd" values in preparation for lcd support. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>