[GitHub] [incubator-nuttx] NicholasChin commented on a change in pull request #270: Small I2C fixups

2020-02-13 Thread GitBox
NicholasChin commented on a change in pull request #270: Small I2C fixups
URL: https://github.com/apache/incubator-nuttx/pull/270#discussion_r379001861
 
 

 ##
 File path: drivers/i2c/Kconfig
 ##
 @@ -54,3 +50,7 @@ config I2CMULTIPLEXER_PCA9540BDP
 endmenu # I2C Multiplexer Support
 
 endif
+
+config ARCH_HAVE_I2CRESET
 
 Review comment:
   This Kconfig file isn't conditionally brought in when I2C is defined. So 
technically ARCH_HAVE_I2CRESET is declared at the same level as it was before. 
If it would be preferred for these to be declared in the larger Kconfig as 
before, I can change that.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-nuttx] NicholasChin commented on a change in pull request #270: Small I2C fixups

2020-02-13 Thread GitBox
NicholasChin commented on a change in pull request #270: Small I2C fixups
URL: https://github.com/apache/incubator-nuttx/pull/270#discussion_r379000645
 
 

 ##
 File path: drivers/i2c/Kconfig
 ##
 @@ -54,3 +50,7 @@ config I2CMULTIPLEXER_PCA9540BDP
 endmenu # I2C Multiplexer Support
 
 endif
 
 Review comment:
   @patacongo This is the `endif` for the corresponding `if I2c`
   
   `config ARCH_HAVE_I2CRESET` comes after it. Therefore, `ARCH_HAVE_I2CRESET` 
does NOT DEPEND on I2C and is unconditionally declared. This is correct.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-nuttx] NicholasChin commented on a change in pull request #270: Small I2C fixups

2020-02-13 Thread GitBox
NicholasChin commented on a change in pull request #270: Small I2C fixups
URL: https://github.com/apache/incubator-nuttx/pull/270#discussion_r378962319
 
 

 ##
 File path: drivers/i2c/Kconfig
 ##
 @@ -53,4 +49,8 @@ config I2CMULTIPLEXER_PCA9540BDP
 
 endmenu # I2C Multiplexer Support
 
+config ARCH_HAVE_I2CRESET
 
 Review comment:
   Hi Xiang,
   I've pulled ARCH_HAVE_I2CRESET out of the if I2C conditional. The 
conditional must be first in this file as menuconfigs will only nest configs if 
the conditional is the next block after declaring the menuconfig.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services