Re: [PATCH v2] Add basic support for password protected (locked) SD cards.

2013-07-04 Thread Peter Turczak
Hi Ulf, On 04.07.2013, at 09:21, Ulf Hansson wrote: > Hi Peter, > > You need a mmc_get|put_card surrounding the call for re-intitalize the card. Sorry, but I can not find no mmc_get_card function in the current kernel mmc git repository. These could be found in mmc/card/block.c: static struct m

Re: [PATCH v2] Add basic support for password protected (locked) SD cards.

2013-07-04 Thread Ulf Hansson
On 2 July 2013 14:15, Peter Turczak wrote: > Thank you, Jae hoon, for the heads up! You are right, I missed a few spots > in the first run. This version fixes the mistakes from last time. > > Adds support for sd cards that are locked by a password and rereading an > already enumerated card. > This

Re: [PATCH v2] Add basic support for password protected (locked) SD cards.

2013-07-02 Thread Peter Turczak
Thank you, Jae hoon, for the heads up! You are right, I missed a few spots in the first run. This version fixes the mistakes from last time. Adds support for sd cards that are locked by a password and rereading an already enumerated card. This fixes compatibility issues with password locked cards