Print log messages in case of wrong write access 13/140113/1
authorHyeongsik Min <hyeongsik.min@samsung.com>
Mon, 24 Jul 2017 02:15:12 +0000 (11:15 +0900)
committerHyeongsik Min <hyeongsik.min@samsung.com>
Mon, 24 Jul 2017 02:25:25 +0000 (11:25 +0900)
commit7df794ea2fe0e5f3b058b803635afecfbbe8284a
tree08523e118cd43f667bd224f60d4cfee84c5e6b65
parent3625ec5d820c832ec0e72ff1e08806b9730de758
Print log messages in case of wrong write access

Writing value is not permitted when the pin is in input direction mode.
Just in case, this patch fixes error number and adds log message to let user
know the cause.

Change-Id: Ie40fabeba06b832eaa0585130af8702ba8fcb8b5
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
src/daemon/peripheral_bus_gpio.c