[lkml]   [2019]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH net-next] can: dev: call netif_carrier_off() in register_candev()
On Mon, Jun 24, 2019 at 4:34 AM Rasmus Villemoes
<> wrote:
> CONFIG_CAN_LEDS is deprecated. When trying to use the generic netdev
> trigger as suggested, there's a small inconsistency with the link
> property: The LED is on initially, stays on when the device is brought
> up, and then turns off (as expected) when the device is brought down.
> Make sure the LED always reflects the state of the CAN device.
> Signed-off-by: Rasmus Villemoes <>

Should this target net? Regardless of CONFIG_CAN_LEDS deprecation,
this is already not initialized properly if that CONFIG is disabled
and a can_led_event call at device probe is a noop.

 \ /
  Last update: 2019-06-24 19:27    [W:0.065 / U:22.576 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site