WSL2-Linux-Kernel/drivers/staging/goldfish
Boris Brezillon e7bfb3fdbd mtd: Stop updating erase_info->state and calling mtd_erase_callback()
MTD users are no longer checking erase_info->state to determine if the
erase operation failed or succeeded. Moreover, mtd_erase_callback() is
now a NOP.

We can safely get rid of all mtd_erase_callback() calls and all
erase_info->state assignments. While at it, get rid of the
erase_info->state field, all MTD_ERASE_XXX definitions and the
mtd_erase_callback() function.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Bert Kenward <bkenward@solarflare.com>
---
Changes in v2:
- Address a few coding style issues (reported by Miquel)
- Remove comments that are no longer valid (reported by Miquel)
2018-03-21 09:50:56 +01:00
..
Kconfig staging/goldfish: Add MTD dependency to KCONFIG 2013-02-07 17:16:07 -08:00
Makefile
README staging: goldfish: switch from spinlock to mutex 2014-04-16 20:12:55 -07:00
goldfish_audio.c staging: goldfish: audio: fix compiliation on arm 2016-03-11 22:09:09 -08:00
goldfish_nand.c mtd: Stop updating erase_info->state and calling mtd_erase_callback() 2018-03-21 09:50:56 +01:00
goldfish_nand_reg.h staging: goldfish: Prefer kernel type u32 over uint32_t 2015-09-12 18:24:38 -07:00

README

Audio
-----
- Move to using the ALSA framework not faking it
- Fix the wrong user page DMA (moving to ALSA may fix that too)

NAND
----
- Remove excess checking of parameters in calls
- Use dma coherent memory not kmalloc/__pa for the memory (this is just
  a cleanliness issue not a correctness one)