diff options
author | Wei WANG <wei_wang@realsil.com.cn> | 2013-01-22 20:51:06 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-26 19:30:20 -0500 |
commit | ab4e8f8b7bdfeff0c961fdbbdacb262d68f094c0 (patch) | |
tree | 543440d2656343141c14e565e795a655378a0f72 /drivers/mfd/rts5229.c | |
parent | ef85e736b1052d8c1e56990f0d08b6fce7cdbe41 (diff) |
mfd: rtsx: Add clock divider hook
Add callback function conv_clk_and_div_n to convert between SSC clock
and its divider N.
For rtl8411, the formula to calculate SSC clock divider N is different
with the other card reader models.
Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/rts5229.c')
-rw-r--r-- | drivers/mfd/rts5229.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/rts5229.c b/drivers/mfd/rts5229.c index ec1747adf5d3..29d889cbb9c5 100644 --- a/drivers/mfd/rts5229.c +++ b/drivers/mfd/rts5229.c | |||
@@ -144,6 +144,7 @@ static const struct pcr_ops rts5229_pcr_ops = { | |||
144 | .card_power_off = rts5229_card_power_off, | 144 | .card_power_off = rts5229_card_power_off, |
145 | .switch_output_voltage = rts5229_switch_output_voltage, | 145 | .switch_output_voltage = rts5229_switch_output_voltage, |
146 | .cd_deglitch = NULL, | 146 | .cd_deglitch = NULL, |
147 | .conv_clk_and_div_n = NULL, | ||
147 | }; | 148 | }; |
148 | 149 | ||
149 | /* SD Pull Control Enable: | 150 | /* SD Pull Control Enable: |