]> git.karo-electronics.de Git - karo-tx-linux.git/commit
amba: Defer device peripheral ID read
authorIvan T. Ivanov <ivan.ivanov@linaro.org>
Fri, 15 May 2015 08:07:00 +0000 (11:07 +0300)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:53 +0000 (09:54 +0000)
commit46fd4a6191dbb5b0092a214c28118afe9347bd43
tree27842efb4f91be8187c8f24d167e991ce654b379
parentafd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc
amba: Defer device peripheral ID read

To be able to read peripheral ID during device create time
bus code have turn on device interface clock, but this
clock could be unavailable at this time. Fix this by defer
device ID read until driver match time.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
drivers/amba/bus.c