On 03/25/2019 09:56 PM, Mathieu Poirier wrote:
In preparation to handle device reference counting inside of the sink drivers, add a return code to the sink::disable() operation so that proper action can be taken if a sink has not been disabled.
Signed-off-by: Mathieu Poirier mathieu.poirier@linaro.org
This one and the next patch in the series, together fixes an issue where we could leave the a sink still enabled, but with refcounts dropped. (i.e, if we collide with someone reading the sink, while trying to disable).
As such the issue has been lying around since the beginning, we don't have to bother about fixing the issue in one single patch.
Thus,
Reviewed-by: Suzuki K Poulose suzuki.poulose@arm.com