coresight: tmc: making prepare/unprepare functions generic
Dealing with HW related matters in tmc_read_prepare/unprepare becomes convoluted when many cases need to be handled distinctively. As such moving processing related to HW setup to individual driver files and keep the core driver generic. Signed-off-by:Mathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by:
Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
- drivers/hwtracing/coresight/coresight-tmc-etf.c 61 additions, 1 deletiondrivers/hwtracing/coresight/coresight-tmc-etf.c
- drivers/hwtracing/coresight/coresight-tmc-etr.c 41 additions, 1 deletiondrivers/hwtracing/coresight/coresight-tmc-etr.c
- drivers/hwtracing/coresight/coresight-tmc.c 11 additions, 44 deletionsdrivers/hwtracing/coresight/coresight-tmc.c
- drivers/hwtracing/coresight/coresight-tmc.h 4 additions, 4 deletionsdrivers/hwtracing/coresight/coresight-tmc.h
Loading
Please register or sign in to comment