summaryrefslogtreecommitdiffstats
path: root/crypto/ansi_cprng.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-07-25 15:31:48 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-07-31 09:46:13 +0200
commitabe23d1c5cdf888639313bf87880d2692d0b8724 (patch)
tree36549f2f24a0c84f945ea612721bb85a339577f1 /crypto/ansi_cprng.c
parentmtd: rawnand: tegra: convert driver to nand_scan() (diff)
downloadlinux-abe23d1c5cdf888639313bf87880d2692d0b8724.tar.xz
linux-abe23d1c5cdf888639313bf87880d2692d0b8724.zip
mtd: rawnand: txx9ndfmc: clarify ECC parameters assignation
A comment in the probe declares that values are assigned to ecc.size and ecc.bytes, but these values will be overwritten. This is not entirely right as they are overwritten only if mtd->writesize >= 512. Let's clarify this by moving these assignations to txx9ndfmc_nand_scan(). Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions