Re: [PATCH 08/17] i2c: omap: switch over to do {} while loop

2012-06-14 Thread Shilimkar, Santosh
On Thu, Jun 14, 2012 at 3:50 PM, Felipe Balbi ba...@ti.com wrote:
 this will make sure that we execute at least once.
 No functional changes otherwise.

 Signed-off-by: Felipe Balbi ba...@ti.com
 ---
Executing at least once instead of never is
still a functional change :-)

Regards
Santosh
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 08/17] i2c: omap: switch over to do {} while loop

2012-06-14 Thread Felipe Balbi
On Thu, Jun 14, 2012 at 04:33:39PM +0530, Shilimkar, Santosh wrote:
 On Thu, Jun 14, 2012 at 3:50 PM, Felipe Balbi ba...@ti.com wrote:
  this will make sure that we execute at least once.
  No functional changes otherwise.
 
  Signed-off-by: Felipe Balbi ba...@ti.com
  ---
 Executing at least once instead of never is
 still a functional change :-)

there's a check for spurious interrupts. The idea was mainly to
initialise stat and bits correctly at the beginning of the handler.

Besides that otherwise is telling you that: except this, there are no
other functional changes ;)

-- 
balbi


signature.asc
Description: Digital signature