]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/hwspinlock.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)
commitf0e82d737d1b727e93adec16cf7132391249356a
treec304c63977d161e2b488dd548d49cc4542227c1a
parent183db481279437590f75a8a0479d512e5dd597de
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