summaryrefslogtreecommitdiff
path: root/privs.h
blob: 9f9cfdd0626dee927ca26138809eec7a8daf7a38 (plain)
1
2
3
4
5
6
7
8
#ifndef PRIVS_H
#define PRIVS_H

#include <stdbool.h>

extern void drop_privileges(bool enforce, uid_t uid, gid_t gid);

#endif /* PRIVS_H */
'dt' onchange='this.form.submit();'>
authorThierry Reding <treding@nvidia.com>2015-08-03 14:23:29 +0200
committerThierry Reding <treding@nvidia.com>2016-07-01 14:42:01 +0200
commit25bb2cec88401a512c01adc8b815f8a579da2558 (patch)
treef8d68ae61a35be1c4af1d2308a0e257c4573efbf
parent0751bb5c44fe1aa9494ce259d974c3d249b73a84 (diff)
drm/tegra: sor: Factor out tegra_sor_set_parent_clock()
Switching the SOR parent clock can glitch if done while the clock is enabled. Extract a common function that can be used to disable the module clock, switch the parent and reenable the module clock. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat