Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion apml_sbtsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ static int sbtsi_i3c_probe(struct i3c_device *i3cdev)
struct regmap *regmap;
const char *name;

regmap = devm_regmap_init_i3c(i3cdev, &sbtsi_i3c_regmap_config);
regmap = devm_regmap_init_i2c(i3cdev, &sbtsi_i3c_regmap_config);
if (IS_ERR(regmap)) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change?

dev_err(&i3cdev->dev, "Failed to register i3c regmap %d\n",
(int)PTR_ERR(regmap));
Expand Down
2 changes: 1 addition & 1 deletion sbrmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ static int init_rmi_regmap(struct apml_sbrmi_device *rmi_dev, u32 size, u32 rev)
struct regmap *regmap;

if (rmi_dev->i3cdev) {
regmap = devm_regmap_init_i3c(rmi_dev->i3cdev,
regmap = devm_regmap_init_i2c(rmi_dev->i3cdev,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change?

&sbrmi_regmap_config);
if (IS_ERR(regmap)) {
dev_err(&rmi_dev->i3cdev->dev,
Expand Down