/* * This header provides constants for DRA7 ATL (Audio Tracking Logic) * * The constants defined in this header are used in dts files * * Copyright (C) 2013 Texas Instruments, Inc. * * Peter Ujfalusi * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed "as is" WITHOUT ANY WARRANTY of any * kind, whether express or implied; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef _DT_BINDINGS_CLK_DRA7_ATL_H #define _DT_BINDINGS_CLK_DRA7_ATL_H #define DRA7_ATL_WS_MCASP1_FSR 0 #define DRA7_ATL_WS_MCASP1_FSX 1 #define DRA7_ATL_WS_MCASP2_FSR 2 #define DRA7_ATL_WS_MCASP2_FSX 3 #define DRA7_ATL_WS_MCASP3_FSX 4 #define DRA7_ATL_WS_MCASP4_FSX 5 #define DRA7_ATL_WS_MCASP5_FSX 6 #define DRA7_ATL_WS_MCASP6_FSX 7 #define DRA7_ATL_WS_MCASP7_FSX 8 #define DRA7_ATL_WS_MCASP8_FSX 9 #define DRA7_ATL_WS_MCASP8_AHCLKX 10 #define DRA7_ATL_WS_XREF_CLK3 11 #define DRA7_ATL_WS_XREF_CLK0 12 #define DRA7_ATL_WS_XREF_CLK1 13 #define DRA7_ATL_WS_XREF_CLK2 14 #define DRA7_ATL_WS_OSC1_X1 15 #endif bmit' value='switch'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeller, Jacob E <jacob.e.keller@intel.com>2016-12-09 13:39:21 -0800
committerDavid S. Miller <davem@davemloft.net>2016-12-10 23:31:19 -0500
commit0266ac4536cdbf37e0bed918b97b6763aa8b84e2 (patch)
tree75cd1fbc3b65ed3bf4537841e1f96358cb876f5a
parent6246168b4a38357b135d07370464f27d4f3a68ce (diff)
i40e: don't truncate match_method assignment
The .match_method field is a u8, so we shouldn't be casting to a u16, and because it is only one byte, we do not need to byte swap anything. Just assign the value directly. This avoids issues on Big Endian architectures which would have byte swapped and then incorrectly truncated the value. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Bimmy Pujari <bimmy.pujari@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>