mtd: nand: fix S3C NAND clock stop
authorJiri Pinkava <jiri.pinkava@vscht.cz>
Wed, 13 Apr 2011 09:59:30 +0000 (11:59 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 25 May 2011 00:53:10 +0000 (01:53 +0100)
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 <jiri.pinkava@vscht.cz>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found