]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd49a9e6c4a7f39a20a93d4a40fc23b1aa46a0aa2
treea1ab0f42276413e23c4b8ba96fa15d903d841f36
parent2821743da4bb0f16ba2396b4f0867550172b9235
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 <jiri.pinkava@vscht.cz>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/s3c2410.c