On 06/03/2019 22:57, Mathieu Poirier wrote:
When disabling a sink the reference counter ensures the operation goes through if nobody else is using it. As such if drvdata::mode is already set do CS_MODE_DISABLED, it is an error and should be reported as such.
Signed-off-by: Mathieu Poirier mathieu.poirier@linaro.org
nit: Subject is misleading. This is really a cleanup/fix than a refactoring.
With that:
Reviewed-by: Suzuki K Poulose suzuki.poulose@arm.com