reset: fix bulk API when DM_RESET is disabled
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 12 Apr 2018 08:03:19 +0000 (10:03 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 17 Apr 2018 21:45:08 +0000 (17:45 -0400)
commit1dd181ff2b3009405d12ad0b3782176490da2446
tree30ba9db2758c0cd773d8eedca6bc4db516433b53
parentbbac9222dcf2a4c233269e67ea38ddfb3536d85b
reset: fix bulk API when DM_RESET is disabled

In the commit "reset: Add get/assert/deassert/release for bulk of reset signals"
the disabled reset_release_bulk() and reset_get_bulk() used the wrong
struct clk_bulk instead of struct reset_ctl_bulk.

Fixes: 0c28233903b5 ("reset: Add get/assert/deassert/release for bulk of reset signals")
Reported-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/reset.h