[PATCH 04/11] mtd: ofpart: do not fail probe when no partitions exist

Marek Vasut marex at denx.de
Wed Jun 3 15:58:52 PDT 2015


On Wednesday, June 03, 2015 at 11:26:40 PM, Michal Suchanek wrote:
> On Exynos it is necessary to set SPI controller parameters that apply to
> a SPI slave in a DT subnode of the slave device. The ofpart code returns
> an error when there are subnodes of the SPI flash but no partitions are
> found. Change this condition to a warning so that flash without
> partitions can be accessed on Exynos.

I have to admit the rationale for this patch is not very clear to me, sorry.
Can you please explain this a bit more ?

Best regards,
Marek Vasut



More information about the linux-arm-kernel mailing list