From: Jiri Pinkava Date: Wed, 13 Apr 2011 09:59:30 +0000 (+0200) Subject: mtd: nand: fix S3C NAND clock stop X-Git-Tag: v3.0-rc1~32^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac497c1602555c908c9738fa93b1145f431d1876;p=pandora-kernel.git mtd: nand: fix S3C NAND clock stop Current implementation of s3c2410_nand_select_chip call clk_disable every time when chip = -1 (de-select). This happend multiple times even if chip was already de-selected. This causes disabling clock even if they are already disabled and due to nature of clock subsytem implementation this causes nand clock to be disabled and newer enabled again. Signed-off-by: Jiri Pinkava Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed