Skip to content

Commit

Permalink
i2c_dbgrpt_bus_info(): do not call write_detect_to_status_by_businfo()
Browse files Browse the repository at this point in the history
would require refactoring to move write_detect_to_status...() functions
from i2c to base layer, not worth doing for a debug function
  • Loading branch information
rockowitz committed Dec 8, 2024
1 parent 330926b commit 1e0e3a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/i2c_bus_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void i2c_dbgrpt_bus_info(I2C_Bus_Info * businfo, bool include_sysinfo, int depth
rpt_vstring(depth, "drm_connector_name: %s", businfo->drm_connector_name);
rpt_vstring(depth, "drm_connector_id: %d", businfo->drm_connector_id);
if (businfo->drm_connector_name) {
possibly_write_detect_to_status_by_businfo(businfo);
// possibly_write_detect_to_status_by_businfo(businfo); // in i2c/i2c_sysfs_base.h
RPT_ATTR_TEXT(depth, NULL, "/sys/class/drm", businfo->drm_connector_name, "enabled");
RPT_ATTR_TEXT(depth, NULL, "/sys/class/drm", businfo->drm_connector_name, "status");
RPT_ATTR_TEXT(depth, NULL, "/sys/class/drm", businfo->drm_connector_name, "dpms");
Expand Down

0 comments on commit 1e0e3a8

Please sign in to comment.