LTSI-v4.14 Backports of MSIOF and SDHI Fixes

Base:
* v4.14.61
* Backports of components for Renesas SoCs to v4.18
* First and second round of backports of I2C R-Car Fixes,
  tagged as backport/v4.14.61/snapshot-to-v4.18+fixes-v2-flattened

Backport of fixes for sh-msiof and sdhi drivers to resolve problems
uncovered during testing of earlier backports.
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE4nzZofWswv9L/nKF189kaWo3T74FAluuJvUACgkQ189kaWo3
T743Fw/9HhqI3QH6ttKekG5cNOSHGuVjRDoUZv5kgyB4Irkm7H7ibuDIpuMvBk6B
3xAfESZj4VJ0WT1Xu/tTVkiPFiNfoIPi0c1kLO42XoAqOYeQvmUQi7JBWZcp0Gb4
LKFfCh1YZGHDnXx2JaoAcNNpNUcIR3jVfOTNlYoq5vDenSx2l4A6CAlfhadU9pbp
Sgu8uz7MGw7xOYyo6GH0LLoUKSlxpriHIt+A0NraYCCVZa2xwNWJkAstlr0PNzjl
k8o3TWSF3wrtABJtkkdj1AKbo4ecorUkLeeVeEf/6elhe0oDoYb3C73dZnzsPxxr
V1+zSFbzxM4W0fAKWz9hSho2pO8vHaMMdSr99b9qsj3b9f83qwgZXzyNbhRDv3gc
121agHermkEOoTfCyf64OdcGAasOtq4JGCi8QKDKN+b92ca5LgO4tWqV4Q/bVZFV
7G4YvTnWT7v7ADjfw9SRuyUaOiKgjtIkQHjhPPM5qyCXMN6yxAkfFyGYuzKO1aLQ
L/4hQHBU6Lt4RUXhTx33n3Tm2zAhDBk/Y9vaFpQYxuzbzsbCzmupLPGusOE7Nh04
k7YNtpypqpmnrP4pjBLg5cH2MRi93mcpgM/cDlrc+dFlQkw9kJ/ZUyI4YkqIf7L2
A9Y2zI5EeUf50/XcQHpzBADil4ah1/yCRWZF94hhYqXnh2Ak/eU=
=JD2j
-----END PGP SIGNATURE-----
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>
(cherry picked from commit 5c99826b27d0afd4c05c2013385b17037f579cf9)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 file changed