Merge "drivers: rpmh: Always bug_on() upon timeout in rpmh_write_batch()"

This commit is contained in:
qctecmdr 2021-07-26 09:06:05 -07:00 • committed by Gerrit - the friendly Code Review server
commit b24468ce1b

View file

@ -485,8 +485,7 @@ int rpmh_write_batch(const struct device *dev, enum rpmh_state state,
* we've returned from this function.
*/
rpmh_rsc_debug(ctrlr_to_drv(ctrlr), &compls[i]);
ret = -ETIMEDOUT;
goto exit;
BUG_ON(1);
}
}