Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d22be2e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "media: dvb: mpq: give control operations priority over processing"

parents 65d24866 003dc75c
Loading
Loading
Loading
Loading
+12 −3
Original line number Original line Diff line number Diff line
@@ -457,8 +457,17 @@ static int mpq_dmx_tspp_thread(void *arg)
			 * Go through all filled descriptors
			 * Go through all filled descriptors
			 * and perform demuxing on them
			 * and perform demuxing on them
			 */
			 */
			while ((tspp_data_desc = tspp_get_buffer(0, channel_id))
			do {
					!= NULL) {
				if (atomic_read(&mpq_dmx_tspp_info.tsif[tsif].
						control_op)) {
					/* restore for next iteration */
					atomic_inc(data_cnt);
					break;
				}
				tspp_data_desc = tspp_get_buffer(0, channel_id);
				if (!tspp_data_desc)
					break;

				notif_size = tspp_data_desc->size /
				notif_size = tspp_data_desc->size /
					TSPP_RAW_TTS_SIZE;
					TSPP_RAW_TTS_SIZE;
				mpq_demux->hw_notification_size += notif_size;
				mpq_demux->hw_notification_size += notif_size;
@@ -471,7 +480,7 @@ static int mpq_dmx_tspp_thread(void *arg)
				 */
				 */
				tspp_release_buffer(0, channel_id,
				tspp_release_buffer(0, channel_id,
					tspp_data_desc->id);
					tspp_data_desc->id);
			}
			} while (1);
		}
		}


		if (mpq_demux->hw_notification_size &&
		if (mpq_demux->hw_notification_size &&