serial: msm_geni_serial: check ioctl_count with auto_suspend enabled
Whenever rx sequencer is in the process of getting stopped and there is an incoming data, we check the ioctl_count and if it is 0, the stop_rx_sequencer will be aborted. We see a SMMU fault when the auto_suspend is disabled which is reulting into ioctl_count 0 as the clocks are not turned on. Whenever there is a change in baud request and rx_sequencer is stopped, if there is an incoming data, check ioctl_count is 0 along with auto suspend is enabled or not before aborting the stop rx sequencer. Change-Id: Ib2313398746f139295cf384b59a539ca079d1737 Signed-off-by:Prasanna S <quic_prass@quicinc.com> Signed-off-by:
Panicker Harish <quic_pharish@quicinc.com>
Loading
Please register or sign in to comment