]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 6 Apr 2018 06:06:53 +0000 (06:06 +0000)
commit3eb323e5a7852da7b3813e3f257f16365b466ac8
tree6329820730cfe8ee2611e1b01b6c3b992bcd22bf
parentfcc45e9a9fb6338f5557ecb2c67c66973cf8b5c6
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