[RFC PATCH 0/2] clk: renesas: rcar-gen3-cpg: refactor accessing the SD div table

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

 



Here is a patch series trying to implement the conclusions about accessing the
SD divider table, coming from this discussion [1]. Patch 1 is a tiny, yet
seperate cleanup. Patch 2 is the bulk of the work doing the checks only when needed.
I think the code looks much better now.

I tested this on a Salvator-X (R-Car M3-W) with highspeed and UHS SD cards. I
could access them and checksum files. I also did not notice any performance
regressions. There are also no WARNings in the boot log.

Please let me know if this is what you had in mind and if you can think of
other ways of testing this change.

Thanks,

   Wolfram

[1] https://patchwork.kernel.org/patch/9688509/

Wolfram Sang (2):
  clk: renesas: rcar-gen3-cpg: drop superfluous variable
  clk: renesas: rcar-gen3-cpg.c: refactor checks for accessing the div
    table

 drivers/clk/renesas/rcar-gen3-cpg.c | 47 ++++++++++++++++---------------------
 1 file changed, 20 insertions(+), 27 deletions(-)

-- 
2.11.0




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux