mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
treewide: Fix comment and string typo 'bufer'
Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
05183189ee
commit
90802ed9c3
@ -324,7 +324,7 @@ static int ene_rx_get_sample_reg(struct ene_device *dev)
|
|||||||
return dev->extra_buf2_address + r_pointer;
|
return dev->extra_buf2_address + r_pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
dbg("attempt to read beyong ring bufer end");
|
dbg("attempt to read beyond ring buffer end");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -227,7 +227,7 @@ struct ene_device {
|
|||||||
|
|
||||||
/* TX buffer */
|
/* TX buffer */
|
||||||
unsigned *tx_buffer; /* input samples buffer*/
|
unsigned *tx_buffer; /* input samples buffer*/
|
||||||
int tx_pos; /* position in that bufer */
|
int tx_pos; /* position in that buffer */
|
||||||
int tx_len; /* current len of tx buffer */
|
int tx_len; /* current len of tx buffer */
|
||||||
int tx_done; /* done transmitting */
|
int tx_done; /* done transmitting */
|
||||||
/* one more sample pending*/
|
/* one more sample pending*/
|
||||||
|
@ -684,7 +684,7 @@ out:
|
|||||||
/*
|
/*
|
||||||
* Update our accounting state to incorporate the new Free List
|
* Update our accounting state to incorporate the new Free List
|
||||||
* buffers, tell the hardware about them and return the number of
|
* buffers, tell the hardware about them and return the number of
|
||||||
* bufers which we were able to allocate.
|
* buffers which we were able to allocate.
|
||||||
*/
|
*/
|
||||||
cred = fl->avail - cred;
|
cred = fl->avail - cred;
|
||||||
fl->pend_cred += cred;
|
fl->pend_cred += cred;
|
||||||
|
@ -359,7 +359,7 @@ typedef struct {
|
|||||||
u32 cmd_buff_addr2; /* physical address of cmd buffer 1 */
|
u32 cmd_buff_addr2; /* physical address of cmd buffer 1 */
|
||||||
u32 cmd_buff_u_addr2; /* reserved for 64 bit addressing */
|
u32 cmd_buff_u_addr2; /* reserved for 64 bit addressing */
|
||||||
u32 cmd_buff_indx2; /* cmd buf addr1 unique identifier */
|
u32 cmd_buff_indx2; /* cmd buf addr1 unique identifier */
|
||||||
u32 cmd_buff_size; /* size of each cmd bufer in bytes */
|
u32 cmd_buff_size; /* size of each cmd buffer in bytes */
|
||||||
u32 reserved1;
|
u32 reserved1;
|
||||||
u32 reserved2;
|
u32 reserved2;
|
||||||
} __attribute__((packed)) gdth_perf_modes;
|
} __attribute__((packed)) gdth_perf_modes;
|
||||||
|
@ -513,7 +513,7 @@ static inline int cppi_autoreq_update(struct cppi_channel *rx,
|
|||||||
if (!(val & MUSB_RXCSR_H_REQPKT)) {
|
if (!(val & MUSB_RXCSR_H_REQPKT)) {
|
||||||
val |= MUSB_RXCSR_H_REQPKT | MUSB_RXCSR_H_WZC_BITS;
|
val |= MUSB_RXCSR_H_REQPKT | MUSB_RXCSR_H_WZC_BITS;
|
||||||
musb_writew(regs, MUSB_RXCSR, val);
|
musb_writew(regs, MUSB_RXCSR, val);
|
||||||
/* flush writebufer */
|
/* flush writebuffer */
|
||||||
val = musb_readw(regs, MUSB_RXCSR);
|
val = musb_readw(regs, MUSB_RXCSR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Author: Michael Hennerich <hennerich@blackfin.uclinux.org>
|
* Author: Michael Hennerich <hennerich@blackfin.uclinux.org>
|
||||||
*
|
*
|
||||||
* Created:
|
* Created:
|
||||||
* Description: ADSP-BF54x Framebufer driver
|
* Description: ADSP-BF54x Framebuffer driver
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Modified:
|
* Modified:
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Author: Michael Hennerich <hennerich@blackfin.uclinux.org>
|
* Author: Michael Hennerich <hennerich@blackfin.uclinux.org>
|
||||||
*
|
*
|
||||||
* Created:
|
* Created:
|
||||||
* Description: Blackfin LCD Framebufer driver
|
* Description: Blackfin LCD Framebuffer driver
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Modified:
|
* Modified:
|
||||||
|
@ -1878,7 +1878,7 @@ static void ext4_end_io_buffer_write(struct buffer_head *bh, int uptodate);
|
|||||||
* a[0] = 'a';
|
* a[0] = 'a';
|
||||||
* truncate(f, 4096);
|
* truncate(f, 4096);
|
||||||
* we have in the page first buffer_head mapped via page_mkwrite call back
|
* we have in the page first buffer_head mapped via page_mkwrite call back
|
||||||
* but other bufer_heads would be unmapped but dirty(dirty done via the
|
* but other buffer_heads would be unmapped but dirty (dirty done via the
|
||||||
* do_wp_page). So writepage should write the first block. If we modify
|
* do_wp_page). So writepage should write the first block. If we modify
|
||||||
* the mmap area beyond 1024 we will again get a page_fault and the
|
* the mmap area beyond 1024 we will again get a page_fault and the
|
||||||
* page_mkwrite callback will do the block allocation and mark the
|
* page_mkwrite callback will do the block allocation and mark the
|
||||||
|
@ -537,7 +537,7 @@ int cleanup_journal_tail(journal_t *journal)
|
|||||||
* them.
|
* them.
|
||||||
*
|
*
|
||||||
* Called with j_list_lock held.
|
* Called with j_list_lock held.
|
||||||
* Returns number of bufers reaped (for debug)
|
* Returns number of buffers reaped (for debug)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int journal_clean_one_cp_list(struct journal_head *jh, int *released)
|
static int journal_clean_one_cp_list(struct journal_head *jh, int *released)
|
||||||
|
@ -565,7 +565,7 @@ int jbd2_cleanup_journal_tail(journal_t *journal)
|
|||||||
*
|
*
|
||||||
* Called with the journal locked.
|
* Called with the journal locked.
|
||||||
* Called with j_list_lock held.
|
* Called with j_list_lock held.
|
||||||
* Returns number of bufers reaped (for debug)
|
* Returns number of buffers reaped (for debug)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int journal_clean_one_cp_list(struct journal_head *jh, int *released)
|
static int journal_clean_one_cp_list(struct journal_head *jh, int *released)
|
||||||
|
@ -1370,7 +1370,7 @@ restart:
|
|||||||
goto restart;
|
goto restart;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* clear the LRU reference count so the bufer doesn't get
|
* clear the LRU reference count so the buffer doesn't get
|
||||||
* ignored in xfs_buf_rele().
|
* ignored in xfs_buf_rele().
|
||||||
*/
|
*/
|
||||||
atomic_set(&bp->b_lru_ref, 0);
|
atomic_set(&bp->b_lru_ref, 0);
|
||||||
|
@ -691,7 +691,7 @@ STATIC int INIT bunzip2(unsigned char *buf, int len,
|
|||||||
outbuf = malloc(BZIP2_IOBUF_SIZE);
|
outbuf = malloc(BZIP2_IOBUF_SIZE);
|
||||||
|
|
||||||
if (!outbuf) {
|
if (!outbuf) {
|
||||||
error("Could not allocate output bufer");
|
error("Could not allocate output buffer");
|
||||||
return RETVAL_OUT_OF_MEMORY;
|
return RETVAL_OUT_OF_MEMORY;
|
||||||
}
|
}
|
||||||
if (buf)
|
if (buf)
|
||||||
@ -699,7 +699,7 @@ STATIC int INIT bunzip2(unsigned char *buf, int len,
|
|||||||
else
|
else
|
||||||
inbuf = malloc(BZIP2_IOBUF_SIZE);
|
inbuf = malloc(BZIP2_IOBUF_SIZE);
|
||||||
if (!inbuf) {
|
if (!inbuf) {
|
||||||
error("Could not allocate input bufer");
|
error("Could not allocate input buffer");
|
||||||
i = RETVAL_OUT_OF_MEMORY;
|
i = RETVAL_OUT_OF_MEMORY;
|
||||||
goto exit_0;
|
goto exit_0;
|
||||||
}
|
}
|
||||||
|
@ -562,7 +562,7 @@ STATIC inline int INIT unlzma(unsigned char *buf, int in_len,
|
|||||||
else
|
else
|
||||||
inbuf = malloc(LZMA_IOBUF_SIZE);
|
inbuf = malloc(LZMA_IOBUF_SIZE);
|
||||||
if (!inbuf) {
|
if (!inbuf) {
|
||||||
error("Could not allocate input bufer");
|
error("Could not allocate input buffer");
|
||||||
goto exit_0;
|
goto exit_0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user