Re: [PATCH 2/2] mmc_block: ensure all sectors that do not have errors are read

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bernd Eckenfels
Date: Monday, December 22, 2008 - 6:12 am

In article <494F7A02.2030302@nokia.com> you wrote:

We would save an comparision here if we use it like this:

...
                if (brq.data.blocks > 1) {

                 /*
                  * After a read error, we redo the request one sector at a time
                  * in order to accurately determine which sectors can be read
                  * successfully.
                  */
                  if (disable_multi)
                    brq.data.blocks = 1;                        

                  /* SPI multiblock writes terminate using a special
...



Will this flood the logs?

Gruss
Bernd
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] mmc_block: ensure all sectors that do not ..., Bernd Eckenfels, (Mon Dec 22, 6:12 am)