commit | 1c092205a251165950ce59118d253984e6386005 | [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 | 6c727e09a022fcc0701eef58c4a5aedae5d9a6ac [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>