Messages in this thread | | | Subject | Re: [PATCH v4 07/10] drivers: qcom: rpmh-rsc: tcs_is_free() can just check tcs_in_use | From | Stephen Boyd <> | Date | Mon, 13 Apr 2020 14:58:48 -0700 |
| |
Quoting Douglas Anderson (2020-04-13 10:04:12) > tcs_is_free() had two checks in it: does the software think that the > TCS is free and does the hardware think that the TCS is free. I > couldn't figure out in which case the hardware could think that a TCS > was in-use but software thought it was free. Apparently there is no > case and the extra check can be removed. This apparently has already > been done in a downstream patch. > > Suggested-by: Maulik Shah <mkshah@codeaurora.org> > Signed-off-by: Douglas Anderson <dianders@chromium.org> > Reviewed-by: Maulik Shah <mkshah@codeaurora.org> > Tested-by: Maulik Shah <mkshah@codeaurora.org> > ---
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
| |