Added TMP421 type sensor's support in tiogapass
PATCH 1/1 Added TMP421 type sensor's support in tiogapass
Added TMP421 type sensor support in tiogapass platform.
Tested: Tested and verified in tiogapass platform.
--- hw/arm/aspeed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/aspeed.c +1 -1
@@ -545,7 +545,7 @@ static void tiogapass_bmc_i2c_init(AspeedMachineState *bmc)/* TMP421 */ i2c_slave_create_simple (aspeed_i2c_get_bus (&soc->i2c,8 ),"tmp421" ,0x1f );i2c_slave_create_simple (aspeed_i2c_get_bus (&soc->i2c,6 ),"tmp421" ,0x4f ); -i2c_slave_create_simple (aspeed_i2c_get_bus (&soc->i2c,6 ),"tmp421" ,0x4e ); +i2c_slave_create_simple (aspeed_i2c_get_bus (&soc->i2c,6 ),"tmp421" ,0x4e ); }static void create_pca9552 (AspeedSoCState *soc,int bus_id,int addr)
Signature · 1 line
2.34.1
Hi Goater,
please ignore this patch, I have missed something here and
I'll send
one more patch, sorry for the inconvenience.
Regards,
Karthikeyan P
Quoted 31 lines · Karthikeyan Pasupathi
Added TMP421 type sensor support in tiogapass platform.
Tested: Tested and verified in tiogapass platform.
Signed-off-by Karthikeyan Pasupathi <[email protected]>--- hw/arm/aspeed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/arm/aspeed.c +0
-1@@ -545,7 +545,7 @@ static void tiogapass_bmc_i2c_init(AspeedMachineState *bmc)/* TMP421 */ i2c_slave_create_simple (aspeed_i2c_get_bus (&soc->i2c,8 ),"tmp421" ,0x1f );i2c_slave_create_simple (aspeed_i2c_get_bus (&soc->i2c,6 ),"tmp421" ,0x4f ); - i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 6), "tmp421",
0x4e);
+ i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 6), "tmp421",0x4e);
}static void
create_pca9552(AspeedSoCState *soc, int bus_id, int addr)
--
2.34.1
Hello Karthikeyan,
Quoted 14 lines · Karthikeyan Pasupathi
Added TMP421 type sensor support in tiogapass platform.
Tested: Tested and verified in tiogapass platform.
Signed-off-by Karthikeyan Pasupathi <[email protected]>--- hw/arm/aspeed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/arm/aspeed.c +0
-0
hw/arm/aspeed.c static void tiogapass_bmc_i2c_init(AspeedMachineState *bmc) · line 551
Quoted 8 lines
hw/arm/aspeed.c +1
-1@@ -545,7 +545,7 @@ static void tiogapass_bmc_i2c_init(AspeedMachineState *bmc)/* TMP421 */ i2c_slave_create_simple (aspeed_i2c_get_bus (&soc->i2c,8 ),"tmp421" ,0x1f );i2c_slave_create_simple (aspeed_i2c_get_bus (&soc->i2c,6 ),"tmp421" ,0x4f ); -i2c_slave_create_simple (aspeed_i2c_get_bus (&soc->i2c,6 ),"tmp421" ,0x4e ); +i2c_slave_create_simple (aspeed_i2c_get_bus (&soc->i2c,6 ),"tmp421" ,0x4e ); }static void create_pca9552 (AspeedSoCState *soc,int bus_id,int addr)
This patch is only removing a white space at the end of a line. Is that expected ? If so, the commit log should be changed.
Thanks,
C.