Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

extcon: fix typos in sys-class-extcon

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Peter Meerwald and committed by
Greg Kroah-Hartman
f28d5a01 80732cc1

+11 -11
+11 -11
Documentation/ABI/testing/sysfs-class-extcon
··· 13 13 accessory cables have such capability. For example, 14 14 the 30-pin port of Nuri board (/arch/arm/mach-exynos) 15 15 may have both HDMI and Charger attached, or analog audio, 16 - video, and USB cables attached simulteneously. 16 + video, and USB cables attached simultaneously. 17 17 18 18 If there are cables mutually exclusive with each other, 19 19 such binary relations may be expressed with extcon_dev's ··· 35 35 The /sys/class/extcon/.../state shows and stores the cable 36 36 attach/detach information of the corresponding extcon object. 37 37 If the extcon object has an optional callback "show_state" 38 - defined, the showing function is overriden with the optional 38 + defined, the showing function is overridden with the optional 39 39 callback. 40 40 41 41 If the default callback for showing function is used, the ··· 46 46 TA=1 47 47 EAR_JACK=0 48 48 # 49 - In this example, the extcon device have USB_OTG and TA 49 + In this example, the extcon device has USB_OTG and TA 50 50 cables attached and HDMI and EAR_JACK cables detached. 51 51 52 52 In order to update the state of an extcon device, enter a hex 53 - state number starting with 0x. 54 - echo 0xHEX > state 53 + state number starting with 0x: 54 + # echo 0xHEX > state 55 55 56 - This updates the whole state of the extcon dev. 56 + This updates the whole state of the extcon device. 57 57 Inputs of all the methods are required to meet the 58 - mutually_exclusive contidions if they exist. 58 + mutually_exclusive conditions if they exist. 59 59 60 60 It is recommended to use this "global" state interface if 61 - you need to enter the value atomically. The later state 61 + you need to set the value atomically. The later state 62 62 interface associated with each cable cannot update 63 63 multiple cable states of an extcon device simultaneously. 64 64 ··· 73 73 Date: February 2012 74 74 Contact: MyungJoo Ham <myungjoo.ham@samsung.com> 75 75 Description: 76 - The /sys/class/extcon/.../cable.x/name shows and stores the 76 + The /sys/class/extcon/.../cable.x/state shows and stores the 77 77 state of cable "x" (integer between 0 and 31) of an extcon 78 78 device. The state value is either 0 (detached) or 1 79 79 (attached). ··· 83 83 Contact: MyungJoo Ham <myungjoo.ham@samsung.com> 84 84 Description: 85 85 Shows the relations of mutually exclusiveness. For example, 86 - if the mutually_exclusive array of extcon_dev is 87 - {0x3, 0x5, 0xC, 0x0}, the, the output is: 86 + if the mutually_exclusive array of extcon device is 87 + {0x3, 0x5, 0xC, 0x0}, then the output is: 88 88 # ls mutually_exclusive/ 89 89 0x3 90 90 0x5