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

staging: android: Fix typo in android/sync.h

Correct spelling typo in android/sync.h

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Masanari Iida and committed by
Greg Kroah-Hartman
4e20effa 5e6dc548

+25 -25
+25 -25
drivers/staging/android/sync.h
··· 28 28 29 29 /** 30 30 * struct sync_timeline_ops - sync object implementation ops 31 - * @driver_name: name of the implentation 31 + * @driver_name: name of the implementation 32 32 * @dup: duplicate a sync_pt 33 33 * @has_signaled: returns: 34 34 * 1 if pt has signaled ··· 37 37 * @compare: returns: 38 38 * 1 if b will signal before a 39 39 * 0 if a and b will signal at the same time 40 - * -1 if a will signabl before b 40 + * -1 if a will signal before b 41 41 * @free_pt: called before sync_pt is freed 42 42 * @release_obj: called before sync_timeline is freed 43 43 * @print_obj: deprecated 44 44 * @print_pt: deprecated 45 - * @fill_driver_data: write implmentation specific driver data to data. 45 + * @fill_driver_data: write implementation specific driver data to data. 46 46 * should return an error if there is not enough room 47 47 * as specified by size. This information is returned 48 48 * to userspace by SYNC_IOC_FENCE_INFO. ··· 88 88 /** 89 89 * struct sync_timeline - sync object 90 90 * @kref: reference count on fence. 91 - * @ops: ops that define the implementaiton of the sync_timeline 91 + * @ops: ops that define the implementation of the sync_timeline 92 92 * @name: name of the sync_timeline. Useful for debugging 93 - * @destoryed: set when sync_timeline is destroyed 93 + * @destroyed: set when sync_timeline is destroyed 94 94 * @child_list_head: list of children sync_pts for this sync_timeline 95 95 * @child_list_lock: lock protecting @child_list_head, destroyed, and 96 96 * sync_pt.status ··· 119 119 * @parent: sync_timeline to which this sync_pt belongs 120 120 * @child_list: membership in sync_timeline.child_list_head 121 121 * @active_list: membership in sync_timeline.active_list_head 122 - * @signaled_list: membership in temorary signaled_list on stack 122 + * @signaled_list: membership in temporary signaled_list on stack 123 123 * @fence: sync_fence to which the sync_pt belongs 124 124 * @pt_list: membership in sync_fence.pt_list_head 125 125 * @status: 1: signaled, 0:active, <0: error 126 126 * @timestamp: time which sync_pt status transitioned from active to 127 - * singaled or error. 127 + * signaled or error. 128 128 */ 129 129 struct sync_pt { 130 130 struct sync_timeline *parent; ··· 145 145 /** 146 146 * struct sync_fence - sync fence 147 147 * @file: file representing this fence 148 - * @kref: referenace count on fence. 148 + * @kref: reference count on fence. 149 149 * @name: name of sync_fence. Useful for debugging 150 - * @pt_list_head: list of sync_pts in ths fence. immutable once fence 150 + * @pt_list_head: list of sync_pts in the fence. immutable once fence 151 151 * is created 152 152 * @waiter_list_head: list of asynchronous waiters on this fence 153 153 * @waiter_list_lock: lock protecting @waiter_list_head and @status ··· 201 201 202 202 /** 203 203 * sync_timeline_create() - creates a sync object 204 - * @ops: specifies the implemention ops for the object 204 + * @ops: specifies the implementation ops for the object 205 205 * @size: size to allocate for this obj 206 206 * @name: sync_timeline name 207 207 * 208 - * Creates a new sync_timeline which will use the implemetation specified by 209 - * @ops. @size bytes will be allocated allowing for implemntation specific 210 - * data to be kept after the generic sync_timeline stuct. 208 + * Creates a new sync_timeline which will use the implementation specified by 209 + * @ops. @size bytes will be allocated allowing for implementation specific 210 + * data to be kept after the generic sync_timeline struct. 211 211 */ 212 212 struct sync_timeline *sync_timeline_create(const struct sync_timeline_ops *ops, 213 213 int size, const char *name); 214 214 215 215 /** 216 - * sync_timeline_destory() - destorys a sync object 216 + * sync_timeline_destroy() - destroys a sync object 217 217 * @obj: sync_timeline to destroy 218 218 * 219 - * A sync implemntation should call this when the @obj is going away 220 - * (i.e. module unload.) @obj won't actually be freed until all its childern 219 + * A sync implementation should call this when the @obj is going away 220 + * (i.e. module unload.) @obj won't actually be freed until all its children 221 221 * sync_pts are freed. 222 222 */ 223 223 void sync_timeline_destroy(struct sync_timeline *obj); ··· 226 226 * sync_timeline_signal() - signal a status change on a sync_timeline 227 227 * @obj: sync_timeline to signal 228 228 * 229 - * A sync implemntation should call this any time one of it's sync_pts 229 + * A sync implementation should call this any time one of it's sync_pts 230 230 * has signaled or has an error condition. 231 231 */ 232 232 void sync_timeline_signal(struct sync_timeline *obj); ··· 236 236 * @parent: sync_pt's parent sync_timeline 237 237 * @size: size to allocate for this pt 238 238 * 239 - * Creates a new sync_pt as a chiled of @parent. @size bytes will be 240 - * allocated allowing for implemntation specific data to be kept after 239 + * Creates a new sync_pt as a child of @parent. @size bytes will be 240 + * allocated allowing for implementation specific data to be kept after 241 241 * the generic sync_timeline struct. 242 242 */ 243 243 struct sync_pt *sync_pt_create(struct sync_timeline *parent, int size); ··· 287 287 struct sync_fence *sync_fence_fdget(int fd); 288 288 289 289 /** 290 - * sync_fence_put() - puts a refernnce of a sync fence 290 + * sync_fence_put() - puts a reference of a sync fence 291 291 * @fence: fence to put 292 292 * 293 293 * Puts a reference on @fence. If this is the last reference, the fence and ··· 297 297 298 298 /** 299 299 * sync_fence_install() - installs a fence into a file descriptor 300 - * @fence: fence to instal 300 + * @fence: fence to install 301 301 * @fd: file descriptor in which to install the fence 302 302 * 303 303 * Installs @fence into @fd. @fd's should be acquired through get_unused_fd(). ··· 359 359 * struct sync_pt_info - detailed sync_pt information 360 360 * @len: length of sync_pt_info including any driver_data 361 361 * @obj_name: name of parent sync_timeline 362 - * @driver_name: name of driver implmenting the parent 362 + * @driver_name: name of driver implementing the parent 363 363 * @status: status of the sync_pt 0:active 1:signaled <0:error 364 364 * @timestamp_ns: timestamp of status change in nanoseconds 365 - * @driver_data: any driver dependant data 365 + * @driver_data: any driver dependent data 366 366 */ 367 367 struct sync_pt_info { 368 368 __u32 len; ··· 377 377 /** 378 378 * struct sync_fence_info_data - data returned from fence info ioctl 379 379 * @len: ioctl caller writes the size of the buffer its passing in. 380 - * ioctl returns length of sync_fence_data reutnred to userspace 380 + * ioctl returns length of sync_fence_data returned to userspace 381 381 * including pt_info. 382 382 * @name: name of fence 383 383 * @status: status of fence. 1: signaled 0:active <0:error ··· 418 418 * pt_info. 419 419 * 420 420 * pt_info is a buffer containing sync_pt_infos for every sync_pt in the fence. 421 - * To itterate over the sync_pt_infos, use the sync_pt_info.len field. 421 + * To iterate over the sync_pt_infos, use the sync_pt_info.len field. 422 422 */ 423 423 #define SYNC_IOC_FENCE_INFO _IOWR(SYNC_IOC_MAGIC, 2,\ 424 424 struct sync_fence_info_data)