mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 10:31:54 +00:00
5145abeb06
In a pipelined engine situation, we might either have the host which internally has support for error correction, or have it using an external hardware block for this purpose. In the former case, the host is also the ECC engine. In the latter case, it is not. In order to get the right pointers on the right devices (for example: in order to devm_* allocate variables), let's introduce this helper which can safely be called by pipelined ECC engines in order to retrieve the right device structure. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20211216111654.238086-16-miquel.raynal@bootlin.com |
||
---|---|---|
.. | ||
onenand | ||
raw | ||
spi | ||
bbt.c | ||
core.c | ||
ecc-mxic.c | ||
ecc-sw-bch.c | ||
ecc-sw-hamming.c | ||
ecc.c | ||
Kconfig | ||
Makefile |