Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions drivers/misc/amd-apml/apml_sbtsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,8 @@ static int sbtsi_i3c_probe(struct i3c_device *i3cdev)
dev_info(dev, "SBTSI: PID: %llx\n", i3cdev->desc->info.pid);
if (!(I3C_PID_INSTANCE_ID(i3cdev->desc->info.pid) == 0 ||
i3cdev->desc->info.pid == 0x22400000001)) {
dev_info(dev, "SBTSI: Error PID: %llx\n", i3cdev->desc->info.pid);
dev_info(dev, "SBTSI: PID mismatch: 0x%llx not a TSI controller",
i3cdev->desc->info.pid);
return -ENXIO;
}

Expand All @@ -514,8 +515,8 @@ static int sbtsi_i3c_probe(struct i3c_device *i3cdev)
map_sbtsi_pid_to_static_addr(i3cdev, tsi_dev);
if (tsi_dev->dev_static_addr == 0)
{
dev_info(dev, "SBTSI: PID = 0x%llx, static address zero, skip the device\n",
i3cdev->desc->info.pid);
dev_err(dev, "SBTSI: PID = 0x%llx, static address zero, skip the device\n",
i3cdev->desc->info.pid);
return -ENXIO;
}

Expand Down
7 changes: 4 additions & 3 deletions drivers/misc/amd-apml/sbrmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,8 @@ static int sbrmi_i3c_probe(struct i3c_device *i3cdev)

if (!(I3C_PID_INSTANCE_ID(i3cdev->desc->info.pid) == 1 ||
i3cdev->desc->info.pid == 0x22400000002)) {
dev_info(dev, "SBRMI: PID Error: %llx\n", i3cdev->desc->info.pid);
dev_info(dev, "SBRMI: PID mismatch: 0x%llx not a RMI controller\n",
i3cdev->desc->info.pid);
return -ENXIO;
}

Expand All @@ -705,8 +706,8 @@ static int sbrmi_i3c_probe(struct i3c_device *i3cdev)
map_sbrmi_pid_to_static_addr(i3cdev, rmi_dev);
if (rmi_dev->dev_static_addr == 0)
{
dev_info(dev, "SBRMI: PID = 0x%llx, static address zero, skip the device\n",
i3cdev->desc->info.pid);
dev_err(dev, "SBRMI: PID = 0x%llx, static address zero, skip the device\n",
i3cdev->desc->info.pid);
}

hwmon_dev_name = devm_kasprintf(dev, GFP_KERNEL, "sbrmi_%s",
Expand Down