Re: [PATCH v3 06/13] mmc: mmci: Qcomm: Add 3 clock cycle delay after register write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





I am not sure I like this approach. For each and every writel
(including pio_writes) you will add a few cpu cycles, since you need
to  check for "mclk_delayed_writes" no matter of variant.


How about, adding a new function pointer in the struct mmci_host, for
"writel operations" which you could set up in probe phase instead?


Yes, this is an additional check for other variants. I will try the function pointer method that you suggested.

Thanks,
srini


Kind regards
Ulf Hansson

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux