udlfb: Make sure to get correct endian keys from vendor descriptor
authorBen Collins <bcollins@ubuntu.com>
Sat, 3 Mar 2012 20:43:27 +0000 (12:43 -0800)
committerBernie Thompson <bernie@plugable.com>
Sat, 3 Mar 2012 20:43:27 +0000 (12:43 -0800)
commitb49f184b640dcfab7ede394cf2a1ff4fe3d154f5
tree5543de4e4aa5962ac003c8ab969b1382b24f07d1
parent8d21547d3c9c3bc653261f26d554cfabc4a083de
udlfb: Make sure to get correct endian keys from vendor descriptor

The driver was not using le16_to_cpu when reading keys from the vendor
descriptor, causing incorrect parsing. Mainly, sku_pixel_limit was not
being parsed on big-endian systems. This would result in a blank screen
on big-endian CPUs where the DL chips's max mode was smaller than the
monitor's native mode.

Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Signed-off-by: Bernie Thompson <bernie@plugable.com>
drivers/video/udlfb.c