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

staging: crystalhd: Fix typo in crystalhd

Correct spelling typo.

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
cc922722 ae7d27c0

+12 -12
+1 -1
drivers/staging/crystalhd/bc_dts_glob_lnx.h
··· 229 229 DRV_CMD_REG_RD, /* Read Device Register */ 230 230 DRV_CMD_REG_WR, /* Write Device Register */ 231 231 DRV_CMD_FPGA_RD, /* Read FPGA Register */ 232 - DRV_CMD_FPGA_WR, /* Wrtie FPGA Reister */ 232 + DRV_CMD_FPGA_WR, /* Write FPGA Register */ 233 233 DRV_CMD_MEM_RD, /* Read Device Memory */ 234 234 DRV_CMD_MEM_WR, /* Write Device Memory */ 235 235 DRV_CMD_RD_PCI_CFG, /* Read PCI Config Space */
+1 -1
drivers/staging/crystalhd/crystalhd_cmds.c
··· 798 798 * 799 799 * Current gstreamer frame work does not provide any power management 800 800 * related notification to user mode decoder plug-in. As a work-around 801 - * we pass on the power mangement notification to our plug-in by completing 801 + * we pass on the power management notification to our plug-in by completing 802 802 * all outstanding requests with BC_STS_IO_USER_ABORT return code. 803 803 */ 804 804 enum BC_STATUS crystalhd_suspend(struct crystalhd_cmd *ctx,
+1 -1
drivers/staging/crystalhd/crystalhd_cmds.h
··· 29 29 30 30 /* 31 31 * NOTE:: This is the main interface file between the Linux layer 32 - * and the harware layer. This file will use the definitions 32 + * and the hardware layer. This file will use the definitions 33 33 * from _dts_glob and dts_defs etc.. which are defined for 34 34 * windows. 35 35 */
+1 -1
drivers/staging/crystalhd/crystalhd_fw_if.h
··· 115 115 unsigned char model_id; /* Model id. */ 116 116 117 117 /* +unused SE based on Thomson spec */ 118 - unsigned char color_desc_flag; /* Separate color descrition flag. */ 118 + unsigned char color_desc_flag; /* Separate color description flag. */ 119 119 unsigned char bit_depth_luma; /* Bit depth luma minus 8. */ 120 120 unsigned char bit_depth_chroma; /* Bit depth chroma minus 8. */ 121 121 unsigned char full_range_flag; /* Full range flag. */
+1 -1
drivers/staging/crystalhd/crystalhd_hw.c
··· 398 398 * Call back from TX - IOQ deletion. 399 399 * 400 400 * This routine will release the TX DMA rings allocated 401 - * druing setup_dma rings interface. 401 + * during setup_dma rings interface. 402 402 * 403 403 * Memory is allocated per DMA ring basis. This is just 404 404 * a place holder to be able to create the dio queues.
+3 -3
drivers/staging/crystalhd/crystalhd_hw.h
··· 46 46 #define Cpu2HstMbx1 0x00100F04 47 47 #define MbxStat1 0x00100F08 48 48 #define Stream2Host_Intr_Sts 0x00100F24 49 - #define C011_RET_SUCCESS 0x0 /* Reutrn status of firmware command. */ 49 + #define C011_RET_SUCCESS 0x0 /* Return status of firmware command. */ 50 50 51 51 /* TS input status register */ 52 52 #define TS_StreamAFIFOStatus 0x0010044C ··· 141 141 uint32_t reserved0:3; /* Reserved.No Effect*/ 142 142 uint32_t stop_bcm_7412_clk:1; /* 1 ->Stops branch of 143 143 27MHz clk used to clk BCM7412*/ 144 - uint32_t reserved1:27; /* Reseved. No Effect*/ 144 + uint32_t reserved1:27; /* Reserved. No Effect*/ 145 145 }; 146 146 147 147 uint32_t whole_reg; ··· 176 176 uint32_t res0:3; /* Reserved.No Effect*/ 177 177 uint32_t stop_7412_clk:1; /* 1 ->Stops branch of 27MHz 178 178 clk used to clk BCM7412*/ 179 - uint32_t res1:27; /* Reseved. No Effect */ 179 + uint32_t res1:27; /* Reserved. No Effect */ 180 180 }; 181 181 182 182 uint32_t whole_reg;
+1 -1
drivers/staging/crystalhd/crystalhd_lnx.h
··· 53 53 54 54 /* OS specific PCI information structure and adapter information. */ 55 55 struct crystalhd_adp { 56 - /* Hardware borad/PCI specifics */ 56 + /* Hardware board/PCI specifics */ 57 57 char name[32]; 58 58 struct pci_dev *pdev; 59 59
+2 -2
drivers/staging/crystalhd/crystalhd_misc.c
··· 389 389 void *temp = NULL; 390 390 391 391 if (!adp || !sz || !phy_addr) { 392 - BCMLOG_ERR("Invalide Arg..\n"); 392 + BCMLOG_ERR("Invalid Arg..\n"); 393 393 return temp; 394 394 } 395 395 ··· 415 415 dma_addr_t phy_addr) 416 416 { 417 417 if (!adp || !ka || !sz || !phy_addr) { 418 - BCMLOG_ERR("Invalide Arg..\n"); 418 + BCMLOG_ERR("Invalid Arg..\n"); 419 419 return; 420 420 } 421 421
+1 -1
drivers/staging/crystalhd/crystalhd_misc.h
··· 206 206 enum _chd_log_levels { 207 207 BCMLOG_ERROR = 0x80000000, /* Don't disable this option */ 208 208 BCMLOG_DATA = 0x40000000, /* Data, enable by default */ 209 - BCMLOG_SPINLOCK = 0x20000000, /* Spcial case for Spin locks*/ 209 + BCMLOG_SPINLOCK = 0x20000000, /* Special case for Spin locks*/ 210 210 211 211 /* Following are allowed only in debug mode */ 212 212 BCMLOG_INFO = 0x00000001, /* Generic informational */