]> git.karo-electronics.de Git - mv-sheeva.git/commit
udlfb: Fix invalid return codes in edid sysfs entry store function
authorOlivier Sobrie <olivier@sobrie.be>
Wed, 29 Feb 2012 07:06:40 +0000 (08:06 +0100)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 8 Mar 2012 18:12:22 +0000 (18:12 +0000)
commite71ff6f265c80b6f04f1d16470b5afa58f0b4648
tree5fc94eeeab06d4aee5f0982096b1dd9420d4f78b
parent33ad39121d5527048394003d16b8b38f1140ebf1
udlfb: Fix invalid return codes in edid sysfs entry store function

Return a negative errno instead of zero in the write function of
the sysfs entry in case of error.
Also add a check on the return value of dlfb_setup_modes().

Signed-off-by: Olivier Sobrie <olivier@sobrie.be>
Acked-by: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/udlfb.c