Hi Madhav,

> +       host->user = 0;         /*For Clock gating*/
> +       host->clk_restore = 0;

Also, it's not obvious to me why two variables are necessary.  What's
wrong with just setting host->clk_restore when disabling clock, and
testing whether it's non-zero instead of testing host->user?
(host->user would need a more descriptive name, too.)

Thanks,

- Chris.
-- 
Chris Ball   <[email protected]>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to