/* * Ceph 'frag' type */ #include #include int ceph_frag_compare(__u32 a, __u32 b) { unsigned va = ceph_frag_value(a); unsigned vb = ceph_frag_value(b); if (va < vb) return -1; if (va > vb) return 1; va = ceph_frag_bits(a); vb = ceph_frag_bits(b); if (va < vb) return -1; if (va > vb) return 1; return 0; } ce?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2016-11-16 12:21:19 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-12-21 06:53:17 -0200
commit9447082ae666fbf3adbe9c9152117daa31a8b737 (patch)
tree6838078a92f113c1097ebd7c46c51fb074f04251 /include/trace
parentd183e4efcae8d88a2f252e546978658ca6d273cc (diff)
[media] smiapp: Implement power-on and power-off sequences without runtime PM
Power on the sensor when the module is loaded and power it off when it is removed. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/trace')