commit | 09721ba6daa19e75446bac463acf9c28e8ed9acc | [log] [tgz] |
---|---|---|
author | Alexandre Bailon <abailon@baylibre.com> | Mon Nov 21 08:59:30 2016 -0600 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 21 17:35:37 2016 +0100 |
tree | 940c11cc39abaa82b39d9830e3fd29d7f60cf327 | |
parent | 35bd67b2e566e400d7c6984cd0b1d10cef58f799 [diff] |
usb: musb: da8xx: Call earlier clk_prepare_enable() The first attempt to read a register may fail because the clock may not be enabled, and then the probe of musb driver will fail. Call clk_prepare_enable() before the first register read. Signed-off-by: Alexandre Bailon <abailon@baylibre.com> Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>