Loading drivers/i2c/busses/i2c-msm-geni.c +10 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ #include <linux/ioctl.h> #include <linux/pinctrl/consumer.h> #include <linux/slab.h> #include <soc/qcom/boot_stats.h> #define SE_I2C_TX_TRANS_LEN (0x26C) #define SE_I2C_RX_TRANS_LEN (0x270) Loading Loading @@ -1190,6 +1191,7 @@ static int geni_i2c_probe(struct platform_device *pdev) struct platform_device *wrapper_pdev; struct device_node *wrapper_ph_node; int ret; char boot_marker[40]; gi2c = devm_kzalloc(&pdev->dev, sizeof(*gi2c), GFP_KERNEL); if (!gi2c) Loading @@ -1201,6 +1203,10 @@ static int geni_i2c_probe(struct platform_device *pdev) gi2c->dev = &pdev->dev; snprintf(boot_marker, sizeof(boot_marker), "M - DRIVER GENI_I2C Init"); place_marker(boot_marker); res = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (!res) return -EINVAL; Loading Loading @@ -1357,6 +1363,10 @@ static int geni_i2c_probe(struct platform_device *pdev) return ret; } snprintf(boot_marker, sizeof(boot_marker), "M - DRIVER GENI_I2C_%d Ready", gi2c->adap.nr); place_marker(boot_marker); dev_info(gi2c->dev, "I2C probed\n"); return 0; } Loading Loading
drivers/i2c/busses/i2c-msm-geni.c +10 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ #include <linux/ioctl.h> #include <linux/pinctrl/consumer.h> #include <linux/slab.h> #include <soc/qcom/boot_stats.h> #define SE_I2C_TX_TRANS_LEN (0x26C) #define SE_I2C_RX_TRANS_LEN (0x270) Loading Loading @@ -1190,6 +1191,7 @@ static int geni_i2c_probe(struct platform_device *pdev) struct platform_device *wrapper_pdev; struct device_node *wrapper_ph_node; int ret; char boot_marker[40]; gi2c = devm_kzalloc(&pdev->dev, sizeof(*gi2c), GFP_KERNEL); if (!gi2c) Loading @@ -1201,6 +1203,10 @@ static int geni_i2c_probe(struct platform_device *pdev) gi2c->dev = &pdev->dev; snprintf(boot_marker, sizeof(boot_marker), "M - DRIVER GENI_I2C Init"); place_marker(boot_marker); res = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (!res) return -EINVAL; Loading Loading @@ -1357,6 +1363,10 @@ static int geni_i2c_probe(struct platform_device *pdev) return ret; } snprintf(boot_marker, sizeof(boot_marker), "M - DRIVER GENI_I2C_%d Ready", gi2c->adap.nr); place_marker(boot_marker); dev_info(gi2c->dev, "I2C probed\n"); return 0; } Loading