]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 5116/1: pxafb: cleanup and fix order of failure handling
authorJaya Kumar <jayakumar.arm@gmail.com>
Sun, 22 Jun 2008 03:27:26 +0000 (04:27 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 22 Jun 2008 13:31:31 +0000 (14:31 +0100)
commitee98476bbc565f8fe42e198602e647288b6a258d
treed767b67998ca20654065034b19622d3569a2f9ee
parentf1edfc420ac7beb90b27bf822036cbbfa32483f1
[ARM] 5116/1: pxafb: cleanup and fix order of failure handling

This issue was found by Krzysztof Helt and Eric Miao.

pxafb had issues in the order with which it cleaned up if errors occurred
during a probe. This patch reorders the failure handling sequence and also
frees the cmap and clk.

Signed-off-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/pxafb.c