summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/meson8b-clkc.h
blob: a55ff8c9b30fa73d1eadddbc8ba860f6607faa4d (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
/*
 * Meson8b clock tree IDs
 */

#ifndef __MESON8B_CLKC_H
#define __MESON8B_CLKC_H

#define CLKID_UNUSED		0
#define CLKID_XTAL		1
#define CLKID_PLL_FIXED		2
#define CLKID_PLL_VID		3
#define CLKID_PLL_SYS		4
#define CLKID_FCLK_DIV2		5
#define CLKID_FCLK_DIV3		6
#define CLKID_FCLK_DIV4		7
#define CLKID_FCLK_DIV5		8
#define CLKID_FCLK_DIV7		9
#define CLKID_CLK81		10
#define CLKID_MALI		11
#define CLKID_CPUCLK		12
#define CLKID_ZERO		13
#define CLKID_MPEG_SEL		14
#define CLKID_MPEG_DIV		15

#endif /* __MESON8B_CLKC_H */
ommit/tools/build/feature/test-pthread-attr-setaffinity-np.c?h=nds-private-remove&id=33e962c8871f015f5c8978384553dddcf5b81b22'>33e962c8871f015f5c8978384553dddcf5b81b22 (patch) tree43aff96c2ee21d9e0fa2018457778a4de52053cd /tools/build/feature/test-pthread-attr-setaffinity-np.c parent575ddce0507789bf9830d089557d2199d2f91865 (diff)
rt2x00: fix clk_get call
clk_get() takes two arguments and might return ERR_PTR(), so we have to nullify pointer on that case, to do not break further call to clk_get_rate(). Reported-by: Felix Fietkau <nbd@nbd.name> Fixes: 34db70b92fae ("rt2x00: add copy of clk for soc devices") Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/build/feature/test-pthread-attr-setaffinity-np.c')