diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2018-07-24 16:51:38 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-08-01 12:02:03 +0200 |
commit | 5c99826b27d0afd4c05c2013385b17037f579cf9 (patch) | |
tree | 7af6f54b848c611fea82e6417d196f72bda932f0 /lib/kobject.c | |
parent | a8f399f624e1ae902828ad788f3601ff7b3e0eed (diff) |
mmc: renesas_sdhi: Fix sampling clock position selecting
When tuning each tap is issued CMD19 twice and the result of both runs
recorded in host->taps. If the result is different between the two runs
the wrong sampling clock position was selected. Fix this by merging the
two runs and only keep the result for each tap if it was good in both
sets.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions