From: Pekon Gupta Date: Thu, 20 Mar 2014 13:18:36 +0000 (+0530) Subject: mtd: devices: elm: configure parallel channels based on ecc_steps X-Git-Tag: v3.15-rc1~65^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79f013518d435e238e6bddd0073de631bbefb556;p=pandora-kernel.git 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 Reviewed-by: Ezequiel Garcia Signed-off-by: Brian Norris --- Reading git-diff-tree failed