[PATCH 1/6] stm class: Add ioctl get_options interface

2016-02-01 Thread Chunyan Zhang
There is already an interface of set_options, but no get_options yet. Before setting any options, one would may want to see the current status of that option by means of get_options interface. This interface has been used in CoreSight STM driver. Signed-off-by: Chunyan Zhang --- drivers/hwtracin

[PATCH 1/6] stm class: Add ioctl get_options interface

2016-02-01 Thread Chunyan Zhang
There is already an interface of set_options, but no get_options yet. Before setting any options, one would may want to see the current status of that option by means of get_options interface. This interface has been used in CoreSight STM driver. Signed-off-by: Chunyan Zhang --- drivers/hwtracin