Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d374ea2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "can: rh850 CAN FD backward compatibility"

parents 60126a5d 73c40b5d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -951,8 +951,10 @@ static int rh850_netdev_do_ioctl(struct net_device *netdev,

	switch (cmd) {
	case IOCTL_RELEASE_CAN_BUFFER:
		if (ifr->ifr_data > (void *)0x100) {
			mode = ifr->ifr_data;
			priv_data->driver_mode = *mode;
		}
		LOGDE("rh850_driver_mode  %d\n", priv_data->driver_mode);
		rh850_send_release_can_buffer_cmd(netdev);
		ret = 0;