]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: sh_mobile: remove redundant initialization
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 2 Nov 2017 12:47:27 +0000 (13:47 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 27 Nov 2017 17:52:51 +0000 (18:52 +0100)
commita99431d647a5cbb6bb3b46b1c79edd33743daef5
tree1e10fe37a6dcc05f0743a81b32bb5f62baa4dbc3
parent97a4fd1655a347a0722ae210c87a3d6bf01987b8
i2c: sh_mobile: remove redundant initialization

Following the documentation, we initialize the HW before each START in
start_ch(). No need to do the same in activate_ch().

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c