summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clk/ti-dra7-atl.h
blob: 42dd4164f6f4df69617db81032094bc125099d93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * 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 <peter.ujfalusi@ti.com>
 *
 * 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
f-getshdrstrndx.c?h=nds-private-remove&id=040587af31228d82c52267f717c9fcdb65f36335'>040587af31228d82c52267f717c9fcdb65f36335 (diff)
net: thunderx: avoid dereferencing xcv when NULL
This fixes the following smatch and coccinelle warnings: drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119 xcv_setup_link() error: we previously assumed 'xcv' could be null (see line 118) [smatch] drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119:16-20: ERROR: xcv is NULL but dereferenced. [coccinelle] Fixes: 6465859aba1e66a5 ("net: thunderx: Add RGMII interface type support") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/build/feature/test-libelf-getshdrstrndx.c')