summaryrefslogtreecommitdiff
path: root/drivers/mtd/bcm47xxpart.c
diff options
context:
space:
mode:
authorPekon Gupta <pekon@ti.com>2014-03-20 17:18:36 +0400
committerBrian Norris <computersforpeace@gmail.com>2014-03-26 10:09:02 +0400
commit79f013518d435e238e6bddd0073de631bbefb556 (patch)
tree725d64591ed30edb913828c6b92511eecc1e087d /drivers/mtd/bcm47xxpart.c
parentea0760244d235688b5fae4e5cdd9412c1fb1c2fe (diff)
downloadlinux-79f013518d435e238e6bddd0073de631bbefb556.tar.xz
mtd: devices: elm: configure parallel channels based on ecc_steps
ELM hardware can process up to maximum of 8 hannels in parallel for ECC error detection. Currently the number of channels getting configured for processing is static determined by macro ERROR_VECTOR_MAX. However, the actual number of channels that need to be processed is the ECC step number. This patch just avoids configuring extra unused channels. Signed-off-by: Pekon Gupta <pekon@ti.com> Reviewed-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/bcm47xxpart.c')
0 files changed, 0 insertions, 0 deletions