coresight: tmc: Read the TMC mode register only if clk is enabled

Ensure to check if the TMC clk is enabled before reading the TMC mode
register.

Change-Id: I461c08c1b6e442ae711620a83181dc9865af75cb
Signed-off-by: Rama Aparna Mallavarapu <aparnam@codeaurora.org>
1 file changed