[PATCH v2] Revert "mtd: core: always create master device"

Miquel Raynal miquel.raynal at bootlin.com
Thu Jun 19 10:12:58 PDT 2025


On Wed, 18 Jun 2025 10:54:44 +0200, Miquel Raynal wrote:
> The idea behind this patch was to always let a "master" mtd device
> available to anchor runtime PM. Historically, there was no mtd device
> representing the whole storage as soon as partitions were coming into
> play. The introduction of CONFIG_MTD_PARTITIONED_MASTER allowed to keep
> this "master" device, but was not enabled by default to avoid breaking
> existing users (otherwise the mtd device numbering would be totally
> messed up with an off by 1, at least).
> 
> [...]

Applied to mtd/fixes

[1/1] Revert "mtd: core: always create master device"
      commit: 635e118317ffa773f6d25ec6a71b7927d7e8886a

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl



More information about the linux-mtd mailing list