04 Mar, 2015

1 commit


21 Jan, 2014

4 commits

  • Fixes the following sparse warning:

    drivers/mfd/rtl8411.c:473:6: warning:
    symbol 'rtl8411_init_common_params' was not declared. Should it be static?

    Signed-off-by: Wei Yongjun
    Signed-off-by: Lee Jones

    Wei Yongjun
     
  • rtl8402 is much like rtl8411, so just add it to rtl8411.c

    Signed-off-by: Micky Ching
    Reviewed-by: Dan Carpenter
    Signed-off-by: Lee Jones

    Micky Ching
     
  • Add set pull control macro to reduce code for setting pull control, and
    use a common init function to reduce code for rtl8411.c. So this patch
    is used to just simplify code.

    Signed-off-by: Micky Ching
    Reviewed-by: Dan Carpenter
    Signed-off-by: Lee Jones

    Micky Ching
     
  • drivers/mfd/rtl8411.c: In function 'rtl8411_fetch_vendor_settings':
    drivers/mfd/rtl8411.c:58:7: warning: 'reg1' is used uninitialized in this function [-Wuninitialized]
    drivers/mfd/rtl8411.c: In function 'rtl8411b_fetch_vendor_settings':
    drivers/mfd/rtl8411.c:79:7: warning: 'reg' is used uninitialized in this function [-Wuninitialized]
    drivers/mfd/rtl8411.c: In function 'rtl8411_fetch_vendor_settings':
    drivers/mfd/rtl8411.c:69:26: warning: 'reg3' may be used uninitialized in this function [-Wuninitialized]

    Tested-by: Micky Ching
    Signed-off-by: Lee Jones

    Lee Jones
     

30 Aug, 2013

1 commit

  • The default phase can meet most cards' requirement, but it is not the
    optimal one. In some extreme situation, the rx phase point produced by
    the following tuning process will drift quite a distance.
    Before tuning UHS card, this patch will set a more proper initial tx
    phase point, which is calculated from statistic data, and can achieve
    a much better tx signal quality.

    Signed-off-by: Wei WANG
    Acked-by: Lee Jones
    Acked-by: Chris Ball
    Signed-off-by: Samuel Ortiz

    Wei WANG
     

20 Aug, 2013

5 commits


12 Jun, 2013

1 commit


14 Feb, 2013

1 commit


27 Jan, 2013

2 commits

  • 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
    Signed-off-by: Samuel Ortiz

    Wei WANG
     
  • Different card reader has different method to switch output voltage,
    add this callback to let the card reader implement its individual switch
    function.
    This is needed as rtl8411 has a specific switch output voltage procedure.

    Signed-off-by: Wei WANG
    Signed-off-by: Samuel Ortiz

    Wei WANG
     

16 Nov, 2012

1 commit