summaryrefslogtreecommitdiff
path: root/src/ec/purism/librem-ec/librem_ec.h
blob: f3a6a78fd99fc1f909d70fbfbfe00e5a1f1f3826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef LIBREM_EC_H
#define LIBREM_EC_H

#include <stdbool.h>

/*
 * Check whether librem-ec has working jack detect.  This was fixed in librem-ec
 * 1.13, so we only use the verbs with jack detect if the EC has been updated.
 */
bool librem_ec_has_jack_detect(void);

#endif