i2c: rcar: check for no IRQ in rcar_i2c_irq()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 14 Sep 2014 20:20:19 +0000 (00:20 +0400)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 29 Sep 2014 20:41:18 +0000 (22:41 +0200)
commitaa5beaf62588d095398415af5d0e14c79e2478a3
treecdf1548680ed529ab8273090a13c371dc784958e
parent7c7117ffe08fd54d4129e378b46a812c717bae48
i2c: rcar: check for no IRQ in rcar_i2c_irq()

Check if the ICMSR register (masked with the ICMIER register) evaluates to 0  in
the driver's interrupt handler and return IRQ_NONE in that case, like many other
drivers do.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rcar.c