media: exynos4-is: fimc-is-i2c: remove I2C_CLASS_SPD support
Subsystems (4)
PATCH 1/1 media: exynos4-is: fimc-is-i2c: remove I2C_CLASS_SPD support
This I2C bus is used by the firmware only and it seems I2C_CLASS_SPD device auto-detection has never been used. So we can safely remove it. That's one further step towards removing I2C_CLASS_SPD completely.
--- drivers/media/platform/samsung/exynos4-is/fimc-is-i2c.c | 1 - 1 file changed, 1 deletion(-)
drivers/media/platform/samsung/exynos4-is/fimc-is-i2c.c +0 -1
@@ -57,7 +57,6 @@ static int fimc_is_i2c_probe(struct platform_device *pdev)strscpy (i2c_adap->name,"exynos4x12-isp-i2c" ,sizeof (i2c_adap->name)); i2c_adap->owner =THIS_MODULE ; i2c_adap->algo = &fimc_is_i2c_algorithm; - i2c_adap->class =I2C_CLASS_SPD ;platform_set_drvdata (pdev, isp_i2c);pm_runtime_enable (&pdev->dev);
Signature · 1 line
2.42.1
Quoted 5 lines · Heiner Kallweit
This I2C bus is used by the firmware only and it seems
I2C_CLASS_SPDdevice auto-detection has never been used. So we can safely remove it. That's one further step towards removingI2C_CLASS_SPDcompletely.Signed-off-by Heiner Kallweit <[email protected]>
As I want to apply this cleanup early in the cycle, could we have an ack for me to modify this subsystem via I2C, please?
Quoted 16 lines
--- drivers/media/platform/samsung/exynos4-is/fimc-is-i2c.c | 1 - 1 file changed, 1 deletion(-)drivers/media/platform/samsung/exynos4-is/fimc-is-i2c.c +0
-1@@ -57,7 +57,6 @@ static int fimc_is_i2c_probe(struct platform_device *pdev)strscpy (i2c_adap->name,"exynos4x12-isp-i2c" ,sizeof (i2c_adap->name)); i2c_adap->owner =THIS_MODULE ; i2c_adap->algo = &fimc_is_i2c_algorithm; - i2c_adap->class =I2C_CLASS_SPD ;platform_set_drvdata (pdev, isp_i2c);pm_runtime_enable (&pdev->dev);
Quoted 10 lines · Wolfram Sang
Quoted 5 lines · Heiner Kallweit
This I2C bus is used by the firmware only and it seems
I2C_CLASS_SPDdevice auto-detection has never been used. So we can safely remove it. That's one further step towards removingI2C_CLASS_SPDcompletely.Signed-off-by Heiner Kallweit <[email protected]>As I want to apply this cleanup early in the cycle, could we have an ack for me to modify this subsystem via I2C, please?
Today I received the following, patch has been applied via the linux-media tree already.
[git:media_stage/master] media: exynos4-is: fimc-is-i2c: remove I2C_CLASS_SPD support
This is an automatic generated email to let you know that the following patch were queued:
Subject: media: exynos4-is: fimc-is-i2c: remove I2C_CLASS_SPD support Author: Heiner Kallweit <[email protected]> Date: Wed Nov 8 07:42:37 2023 +0100
This I2C bus is used by the firmware only and it seems I2C_CLASS_SPD device auto-detection has never been used. So we can safely remove it. That's one further step towards removing I2C_CLASS_SPD completely.
Quoted 16 lines
Quoted 16 lines
--- drivers/media/platform/samsung/exynos4-is/fimc-is-i2c.c | 1 - 1 file changed, 1 deletion(-)drivers/media/platform/samsung/exynos4-is/fimc-is-i2c.c +0
-1@@ -57,7 +57,6 @@ static int fimc_is_i2c_probe(struct platform_device *pdev)strscpy (i2c_adap->name,"exynos4x12-isp-i2c" ,sizeof (i2c_adap->name)); i2c_adap->owner =THIS_MODULE ; i2c_adap->algo = &fimc_is_i2c_algorithm; - i2c_adap->class =I2C_CLASS_SPD ;platform_set_drvdata (pdev, isp_i2c);pm_runtime_enable (&pdev->dev);