qcacmn: fix runtime PM get/put out of sync
Currently, in get_htc_send_packets() when the hif_system_pm_state_check() fails, we are not doing a runtime PM put operation for the corresponding get operation. This imbalance will never make the system enter runtime suspend state and also we do a BUG() when such imbalance is encountered during runtime PM deinit. This change also fixes a potential memory leak. Change-Id: I3e5916005d583de42a49dd2dc0632bfcca1251e4 CRs-Fixed: 2947247
Loading
Please register or sign in to comment