video: driver: fix race between streamoff and ipsc
During input port streamoff, state is changed from START_INPUT to OPEN and then sent CMD_STOP to firmware. So reverse thread acquired the lock and trying to process IPSC. Since IPSC is not allowed in OPEN state, driver treats that as a fatal issue and moves inst->state to ERROR state. Added change to avoid above mentioned issue. Change-Id: If0e18f01b6ecac3c810c0dab878ae392c48ffc27 Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
@@ -833,6 +833,7 @@ enum msm_vidc_allow {
|
||||
MSM_VIDC_DISALLOW = 0,
|
||||
MSM_VIDC_ALLOW,
|
||||
MSM_VIDC_DEFER,
|
||||
MSM_VIDC_DISCARD,
|
||||
MSM_VIDC_IGNORE,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user