summaryrefslogtreecommitdiff
path: root/tstamping.h
blob: ccc642e32c20c75b8e722222003081aa11c5a9cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef TSTAMPING_H
#define TSTAMPING_H

#include "config.h"

#ifdef HAVE_HARDWARE_TIMESTAMPING
extern int set_sockopt_hwtimestamp(int sock, const char *dev);
#else
static inline int set_sockopt_hwtimestamp(int sock, const char *dev)
{
	return -1;
}
#endif

#endif /* TSTAMPING_H */
alue='1'>ssdiff
authorWei Yongjun <weiyj.lk@gmail.com>2016-08-23 15:16:42 +0000
committerMark Brown <broonie@kernel.org>2016-08-24 12:38:02 +0100
commitfd61576fdda88c9677f9ea62e6f32997ce39daea (patch)
tree05b4facbc43082143f03ed875824f466c7cbb6b7 /sound/soc
parent45ef4969d68f1837649ff3d8cdc5b804fa66df42 (diff)
ASoC: samsung: i2s: Add missing clk_disable_unprepare() on error in samsung_i2s_probe()
Add the missing clk_disable_unprepare() before return from samsung_i2s_probe() in the error handling case. Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')