Merge tag 'firmware_removal-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / Documentation / media / uapi / dvb / ca-reset.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _CA_RESET:
4
5 ========
6 CA_RESET
7 ========
8
9 Name
10 ----
11
12 CA_RESET
13
14
15 Synopsis
16 --------
17
18 .. c:function:: int ioctl(fd, CA_RESET)
19     :name: CA_RESET
20
21
22 Arguments
23 ---------
24
25 ``fd``
26   File descriptor returned by a previous call to :c:func:`open() <cec-open>`.
27
28 Description
29 -----------
30
31 Puts the Conditional Access hardware on its initial state. It should
32 be called before start using the CA hardware.
33
34
35 Return Value
36 ------------
37
38 On success 0 is returned.
39
40 On error -1 is returned, and the ``errno`` variable is set
41 appropriately.
42
43 Generic error codes are described at the
44 :ref:`Generic Error Codes <gen-errors>` chapter.