disp: msm: dp: check panel state before accessing dp audio registers
During DP disable, it is possible for audio and display to race causing the audio to send teardown notification after display driver has disabled all the clocks. This change adds a check for panel state to avoid accessing registers during this callback. Change-Id: I6322726a04745bc6c73338cd33f65cfdbfe42ec7 Signed-off-by: Nisarg Bhavsar <quic_bhavsar@quicinc.com>
这个提交包含在:
@@ -198,6 +198,7 @@ struct dp_panel {
|
||||
int (*sink_crc_enable)(struct dp_panel *dp_panel, bool enable);
|
||||
int (*get_src_crc)(struct dp_panel *dp_panel, u16 *crc);
|
||||
int (*get_sink_crc)(struct dp_panel *dp_panel, u16 *crc);
|
||||
bool (*get_panel_on)(struct dp_panel *dp_panel);
|
||||
};
|
||||
|
||||
struct dp_tu_calc_input {
|
||||
|
在新工单中引用
屏蔽一个用户