Re: [PATCH 0/2] atmel-mci and maybe android-goldfish broken on 4.18

2018-08-21 Thread Ulf Hansson
On 20 August 2018 at 10:54, Ludovic Desroches wrote: > Hi, > > Dougas Gilbert noticed that atmel-mci was broken with the 4.18 release. > He found the culprit commit which is 5b4277814e3fd > ("[PATCH 2/7] mmc: atmel-mci: use sg_copy_{from,to}_buffer"). The from/to > logic was inverted:

Re: [PATCH 0/2] atmel-mci and maybe android-goldfish broken on 4.18

2018-08-21 Thread Ulf Hansson
On 20 August 2018 at 10:54, Ludovic Desroches wrote: > Hi, > > Dougas Gilbert noticed that atmel-mci was broken with the 4.18 release. > He found the culprit commit which is 5b4277814e3fd > ("[PATCH 2/7] mmc: atmel-mci: use sg_copy_{from,to}_buffer"). The from/to > logic was inverted:

[PATCH 0/2] atmel-mci and maybe android-goldfish broken on 4.18

2018-08-20 Thread Ludovic Desroches
Hi, Dougas Gilbert noticed that atmel-mci was broken with the 4.18 release. He found the culprit commit which is 5b4277814e3fd ("[PATCH 2/7] mmc: atmel-mci: use sg_copy_{from,to}_buffer"). The from/to logic was inverted: sg_copy_to_buffer copies from an SG list to a linear buffer so it can't

[PATCH 0/2] atmel-mci and maybe android-goldfish broken on 4.18

2018-08-20 Thread Ludovic Desroches
Hi, Dougas Gilbert noticed that atmel-mci was broken with the 4.18 release. He found the culprit commit which is 5b4277814e3fd ("[PATCH 2/7] mmc: atmel-mci: use sg_copy_{from,to}_buffer"). The from/to logic was inverted: sg_copy_to_buffer copies from an SG list to a linear buffer so it can't