[PATCH v2] mmc: Simplify poll CD logic in case cyclic framework is enabled

Peng Fan (OSS) peng.fan at oss.nxp.com
Fri Apr 11 05:54:18 CEST 2025


From: Peng Fan <peng.fan at nxp.com>


On Sat, 18 Jan 2025 04:09:53 +0100, Marek Vasut wrote:
> Simplify 90cc07fd786d ("mmc: Poll CD in case cyclic framework is enabled")
> according to suggestions by Rasmus. The struct cyclic_info is zero-size in
> case CONFIG_CYCLIC is not enabled and does not add any size to struct mmc,
> so it can unconditionally be part of that structure. This allows clean up
> of all the other conditionals in mmc.c which can now be unconditionally
> present, as they also add no extra space.
> 
> [...]

Applied, thanks!

[1/1] mmc: Simplify poll CD logic in case cyclic framework is enabled
      commit: 4357167e0e941faa0471325450a30227fafbae24

Best regards,
-- 
Peng Fan <peng.fan at nxp.com>


More information about the U-Boot mailing list