Skip to content

Commit c8ea5f4

Browse files
Songwei ChaiSuzuki K Poulose
authored andcommitted
Coresight: Narrow down the matching range of tpdm
The format of tpdm's peripheral id is 1f0exx. To avoid potential conflicts in the future, update the .id_table's id to 0x001f0e00. This update will narrow down the matching range and prevent incorrect matches. For example, another component's peripheral id might be f0e00, which would incorrectly match the old id. Fixes: b3c7162 ("Coresight: Add coresight TPDM source driver") Signed-off-by: Songwei Chai <[email protected]> [ trimmmed Fixes commit sha to 12 chars ] Signed-off-by: Suzuki K Poulose <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent fac04ef commit c8ea5f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/hwtracing/coresight/coresight-tpdm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,8 +1308,8 @@ static void tpdm_remove(struct amba_device *adev)
13081308
*/
13091309
static struct amba_id tpdm_ids[] = {
13101310
{
1311-
.id = 0x000f0e00,
1312-
.mask = 0x000fff00,
1311+
.id = 0x001f0e00,
1312+
.mask = 0x00ffff00,
13131313
},
13141314
{ 0, 0, NULL },
13151315
};

0 commit comments

Comments
 (0)