]> git.baikalelectronics.ru Git - kernel.git/commit
net: ti: cpsw-common: dont print error if ti_cm_get_macid() fails
authorSekhar Nori <nsekhar@ti.com>
Wed, 30 Aug 2017 08:07:13 +0000 (13:37 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Aug 2017 17:05:07 +0000 (10:05 -0700)
commitd703b495c94c0cfb1ccc9455d8ffcc8ebd881c78
treec304c63977d161e2b488dd548d49cc4542227c1a
parent501be19c2306a657f17b3ead179d8aedde23684e
net: ti: cpsw-common: dont print error if ti_cm_get_macid() fails

It is quite common for ti_cm_get_macid() to fail on some of the
platforms it is invoked on. They include any platform where
mac address is not part of SoC register space.

On these platforms, mac address is read and populated in
device-tree by bootloader. An example is TI DA850.

Downgrade the severity of message to "information", so it does
not spam logs when 'quiet' boot is desired.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw-common.c