i2c: rk3x: fix to dev_warn_ratelimited
authorJianqun Xu <jay.xu@rock-chips.com>
Thu, 18 May 2017 01:12:32 +0000 (09:12 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 18 May 2017 08:08:20 +0000 (16:08 +0800)
commit4dca3e096e36ecac7dd0037c0e34a77b1104d350
tree48b42640c09524a78b0e7ba747dfa0d3215b47f3
parentebdc69684b17d42aaf4f95c5879dfc0f5de88196
i2c: rk3x: fix to dev_warn_ratelimited

In some case, the log will look bad such as:
[   12.393926] rk3x-i2c ff150000.i2c: irq in STATE_IDLE, ipd = 0x51
[[[[[[[[[[[[.[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[

Let's limit the printk:
[  180.446547] rk3x_i2c_irq: 1726030 callbacks suppressed
[  180.446592] rk3x-i2c ff150000.i2c: irq in STATE_IDLE, ipd = 0x51

Change-Id: Ie91163ad3085e5dba127790b50e3beb359510120
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
drivers/i2c/busses/i2c-rk3x.c