[PATCH] stm class: increase pos if no free channels found

2018-09-06 Thread Zhi Jin
is to update the pos in step #3 to avoid the issue. Fixes: 7bd1d4093c2f ("stm class: Introduce an abstraction for System Trace Module devices") Signed-off-by: Zhi Jin --- drivers/hwtracing/stm/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hwtracing/stm/core.c b/drivers

[PATCH] stm class: increase pos if no free channels found

2018-09-06 Thread Zhi Jin
is to update the pos in step #3 to avoid the issue. Fixes: 7bd1d4093c2f ("stm class: Introduce an abstraction for System Trace Module devices") Signed-off-by: Zhi Jin --- drivers/hwtracing/stm/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hwtracing/stm/core.c b/drivers