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

Commit 6327a454 authored by Li Pengcheng's avatar Li Pengcheng Committed by Greg Kroah-Hartman
Browse files

coresight: etm4x: modify q_support type



Because this operation exceed the range of boolean,
so we should modify q_support to unit8 bit.
drvdata->q_support = BMVAL(etmidr0, 15, 16)

Signed-off-by: default avatarLi Pengcheng <lipengcheng8@huawei.com>
Signed-off-by: default avatarLi Zhong <lizhong11@hisilicon.com>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e8dc27d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -372,6 +372,7 @@ struct etmv4_drvdata {
	u8				ccitmin;
	u8				s_ex_level;
	u8				ns_ex_level;
	u8				q_support;
	bool				sticky_enable;
	bool				boot_enable;
	bool				os_unlock;
@@ -380,7 +381,6 @@ struct etmv4_drvdata {
	bool				trccond;
	bool				retstack;
	bool				trccci;
	bool				q_support;
	bool				trc_error;
	bool				syncpr;
	bool				stallctl;