Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

i3c: mipi-i3c-hci: Remove function enter DBG() printouts

These function enter DBG("") printouts are not very useful in error
report point of view because they require code recompile. In which case
they can be replaced with more informative debug prints if needed so
remove them for now.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Link: https://lore.kernel.org/r/20250827103009.243771-5-jarkko.nikula@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Jarkko Nikula and committed by
Alexandre Belloni
a00e15f3 4470c85e

-16
-16
drivers/i3c/master/mipi-i3c-hci/core.c
··· 121 121 struct i3c_device_info info; 122 122 int ret; 123 123 124 - DBG(""); 125 - 126 124 if (hci->cmd == &mipi_i3c_hci_cmd_v1) { 127 125 ret = mipi_i3c_hci_dat_v1.init(hci); 128 126 if (ret) ··· 156 158 { 157 159 struct i3c_hci *hci = to_i3c_hci(m); 158 160 struct platform_device *pdev = to_platform_device(m->dev.parent); 159 - 160 - DBG(""); 161 161 162 162 reg_clear(HC_CONTROL, HC_CONTROL_BUS_ENABLE); 163 163 synchronize_irq(platform_get_irq(pdev, 0)); ··· 262 266 static int i3c_hci_daa(struct i3c_master_controller *m) 263 267 { 264 268 struct i3c_hci *hci = to_i3c_hci(m); 265 - 266 - DBG(""); 267 269 268 270 return hci->cmd->perform_daa(hci); 269 271 } ··· 379 385 struct i3c_hci_dev_data *dev_data; 380 386 int ret; 381 387 382 - DBG(""); 383 - 384 388 dev_data = kzalloc(sizeof(*dev_data), GFP_KERNEL); 385 389 if (!dev_data) 386 390 return -ENOMEM; ··· 402 410 struct i3c_hci *hci = to_i3c_hci(m); 403 411 struct i3c_hci_dev_data *dev_data = i3c_dev_get_master_data(dev); 404 412 405 - DBG(""); 406 - 407 413 if (hci->cmd == &mipi_i3c_hci_cmd_v1) 408 414 mipi_i3c_hci_dat_v1.set_dynamic_addr(hci, dev_data->dat_idx, 409 415 dev->info.dyn_addr); ··· 413 423 struct i3c_master_controller *m = i3c_dev_get_master(dev); 414 424 struct i3c_hci *hci = to_i3c_hci(m); 415 425 struct i3c_hci_dev_data *dev_data = i3c_dev_get_master_data(dev); 416 - 417 - DBG(""); 418 426 419 427 i3c_dev_set_master_data(dev, NULL); 420 428 if (hci->cmd == &mipi_i3c_hci_cmd_v1) ··· 426 438 struct i3c_hci *hci = to_i3c_hci(m); 427 439 struct i3c_hci_dev_data *dev_data; 428 440 int ret; 429 - 430 - DBG(""); 431 441 432 442 if (hci->cmd != &mipi_i3c_hci_cmd_v1) 433 443 return 0; ··· 449 463 struct i3c_master_controller *m = i2c_dev_get_master(dev); 450 464 struct i3c_hci *hci = to_i3c_hci(m); 451 465 struct i3c_hci_dev_data *dev_data = i2c_dev_get_master_data(dev); 452 - 453 - DBG(""); 454 466 455 467 if (dev_data) { 456 468 i2c_dev_set_master_data(dev, NULL);