i2c: xilinx: Do not enable irq before irq handler
authorMichal Simek <michal.simek@xilinx.com>
Thu, 19 Dec 2013 15:05:05 +0000 (16:05 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 4 Jan 2014 22:34:29 +0000 (23:34 +0100)
commit617bdcbc3cb2c828771c2632bd8d57f7df5eea5c
treebf374b6498136941710989a94774d054d9c3c3a5
parentf1e9f89aa92435ba5f1176b6152e848227f7adf8
i2c: xilinx: Do not enable irq before irq handler

IRQ handler has to be register first before IRQ
is enabled in xiic_reinit().

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-xiic.c