Re: [PATCH v3 6/8] MFD:rtsx: Add callback function conv_clk_and_div_n

2013-01-03 Thread Dan Carpenter
On Fri, Dec 28, 2012 at 10:41:45AM +0800, wei_w...@realsil.com.cn wrote: > diff --git a/drivers/mfd/rts5209.c b/drivers/mfd/rts5209.c > index ba74de8..98fe0f3 100644 > --- a/drivers/mfd/rts5209.c > +++ b/drivers/mfd/rts5209.c > @@ -174,6 +174,7 @@ static const struct pcr_ops rts5209_pcr_ops = { >

[PATCH v3 6/8] MFD:rtsx: Add callback function conv_clk_and_div_n

2012-12-27 Thread wei_wang
From: Wei WANG 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 --- drivers/mfd/rtl8411.c | 13 + dr