Some of SDIO cards need SD clock active for 4-bit mode, in order to generate interrupt.
But i.MX6 SD controller enables SD clock gated by default, the attached patch is an example to disable SD clock gated.
It's able to check if clock gated is enable or not by the register, "uSDHCx_PRES_STATE:SDOFF", of SD controller.