Re: [PATCH 13/22] mmc: omap_hsmmc: fix few bugs when set the clock divisor

2011-05-05 Thread Grazvydas Ignotas
On Thu, May 5, 2011 at 2:51 PM, Adrian Hunter wrote: > From: Andy Shevchenko > > There are two pieces of code which similar, but not the same. Each of them > contains a bug. > > The SYSCTL register should be read before write in the > omap_hsmmc_context_restore() to remain the state of the reserv

[PATCH 13/22] mmc: omap_hsmmc: fix few bugs when set the clock divisor

2011-05-05 Thread Adrian Hunter
From: Andy Shevchenko There are two pieces of code which similar, but not the same. Each of them contains a bug. The SYSCTL register should be read before write in the omap_hsmmc_context_restore() to remain the state of the reserved bits. Before set the clock divisor and DTO bits the value from