[PATCH 6.17 212/507] coresight: Change device mode to atomic type