xpp: fxs: demote LED FXS6 messages to debug

This commit is contained in:
Tzafrir Cohen 2017-04-18 15:43:16 +03:00
parent 27b1ad108d
commit 76ad75fc2a

View File

@ -358,7 +358,8 @@ static int do_led(xpd_t *xpd, lineno_t chan, __u8 which, bool on)
if (XPD_HW(xpd).type == 6) { if (XPD_HW(xpd).type == 6) {
int mask = 1 << chan; int mask = 1 << chan;
value = (on) << chan; value = (on) << chan;
XPD_INFO(xpd, "LED(%d): 0x%0X (mask: 0x%0X)\n", chan, value, mask); XPD_DBG(LEDS, xpd, "LED(%d): 0x%0X (mask: 0x%0X)\n", chan,
value, mask);
if (which == LED_GREEN) { /* other leds ignored */ if (which == LED_GREEN) { /* other leds ignored */
ret = EXP_REQUEST(xbus, xpd, SLIC_WRITE, ret = EXP_REQUEST(xbus, xpd, SLIC_WRITE,
REG_TYPE6_EXP_GPIOA, value, mask); REG_TYPE6_EXP_GPIOA, value, mask);