summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/sm_ftl.h
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2012-11-19 14:43:29 +0800
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-12-03 16:36:51 +0200
commitb0bb6903c8fca2d5ebef1f8ae63d420eb931bb1e (patch)
tree02befc88e37c78c80e7a7efbfe4fc402a4735b11 /drivers/mtd/sm_ftl.h
parent98a9e2450667e497246449f96eab06eb3fb4d24b (diff)
downloadop-kernel-dev-b0bb6903c8fca2d5ebef1f8ae63d420eb931bb1e.zip
op-kernel-dev-b0bb6903c8fca2d5ebef1f8ae63d420eb931bb1e.tar.gz
mtd: remove the de-select chip code in nand_release_device()
The nand_get_device() does not select the chip, but nand_release_device() does de-select the chip. It is really strange. With the current code, nand_sync() will de-select the chip, even if the chip has never been selected. To make the balance of select/de-select chip, it's better to remove the de-select chip code in nand_release_device() which makes the code more clear. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/sm_ftl.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud