|
|
@@ -616,7 +616,7 @@ static void intel_th_gth_unassign(struct intel_th_device *thdev,
|
|
|
othdev->output.port = -1;
|
|
|
othdev->output.active = false;
|
|
|
gth->output[port].output = NULL;
|
|
|
- for (master = 0; master < TH_CONFIGURABLE_MASTERS; master++)
|
|
|
+ for (master = 0; master <= TH_CONFIGURABLE_MASTERS; master++)
|
|
|
if (gth->master[master] == port)
|
|
|
gth->master[master] = -1;
|
|
|
spin_unlock(>h->gth_lock);
|