Skip to content

Commit

Permalink
Staging: fixed multiple spelling errors.
Browse files Browse the repository at this point in the history
Fixed multiple spelling errors.

Signed-off-by: Carlos E. Garcia <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
cgar authored and gregkh committed May 8, 2015
1 parent 02eb884 commit 69e98df
Show file tree
Hide file tree
Showing 42 changed files with 65 additions and 65 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/android/ion/ion_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct ion_buffer *ion_handle_buffer(struct ion_handle *handle);

/**
* struct ion_buffer - metadata for a particular buffer
* @ref: refernce count
* @ref: reference count
* @node: node in the ion_device buffers tree
* @dev: back pointer to the ion_device
* @heap: back pointer to the heap the buffer came from
Expand All @@ -46,7 +46,7 @@ struct ion_buffer *ion_handle_buffer(struct ion_handle *handle);
* an ion_phys_addr_t (and someday a phys_addr_t)
* @lock: protects the buffers cnt fields
* @kmap_cnt: number of times the buffer is mapped to the kernel
* @vaddr: the kenrel mapping if kmap_cnt is not zero
* @vaddr: the kernel mapping if kmap_cnt is not zero
* @dmap_cnt: number of times the buffer is mapped for dma
* @sg_table: the sg table for the buffer if dmap_cnt is not zero
* @pages: flat array of pages in the buffer -- used by fault
Expand Down Expand Up @@ -266,7 +266,7 @@ void ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer);
/**
* ion_heap_freelist_drain - drain the deferred free list
* @heap: the heap
* @size: ammount of memory to drain in bytes
* @size: amount of memory to drain in bytes
*
* Drains the indicated amount of memory from the deferred freelist immediately.
* Returns the total amount freed. The total freed may be higher depending
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/android/uapi/ion.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ struct ion_custom_data {
* DOC: ION_IOC_SYNC - syncs a shared file descriptors to memory
*
* Deprecated in favor of using the dma_buf api's correctly (syncing
* will happend automatically when the buffer is mapped to a device).
* will happen automatically when the buffer is mapped to a device).
* If necessary should be used after touching a cached buffer from the cpu,
* this will make the buffer in memory coherent.
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/comedi/comedi_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1762,7 +1762,7 @@ static int do_cmd_ioctl(struct comedi_device *dev,

/*
* COMEDI_CMDTEST ioctl
* asynchronous aquisition command testing
* asynchronous acquisition command testing
*
* arg:
* pointer to comedi_cmd structure
Expand Down
6 changes: 3 additions & 3 deletions drivers/staging/dgnc/TODO
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
* checkpatch fixes
* remove unecessary comments
* remove unecessary error messages. Example kzalloc() has its
* remove unnecessary comments
* remove unnecessary error messages. Example kzalloc() has its
own error message. Adding an extra one is useless.
* use goto statements for error handling when appropriate
* there is a lot of unecessary code in the driver. It was
* there is a lot of unnecessary code in the driver. It was
originally a standalone driver. Remove uneeded code.

Please send patches to Greg Kroah-Hartman <[email protected]> and
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/dgnc/dgnc_neo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ static void neo_copy_data_from_uart_to_queue(struct channel_t *ch)
memcpy_fromio(ch->ch_rqueue + head, &ch->ch_neo_uart->txrxburst, n);

/*
* Since RX_FIFO_DATA_ERROR was 0, we are guarenteed
* Since RX_FIFO_DATA_ERROR was 0, we are guaranteed
* that all the data currently in the FIFO is free of
* breaks and parity/frame/orun errors.
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/emxx_udc/emxx_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ static int _nbu2ss_epn_in_transfer(
}

/*-------------------------------------------------------------*/
/* Start tranfer */
/* Start transfer */
iBufSize = req->req.length - req->req.actual;
if (iBufSize > 0)
result = _nbu2ss_epn_in_data(udc, ep, req, iBufSize);
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/fbtft/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ config FB_TFT_AGM1264K_FL
tristate "FB driver for the AGM1264K-FL LCD display"
depends on FB_TFT
help
Framebuffer support for the AGM1264K-FL LCD display (two Samsung KS0108 compatable chips)
Framebuffer support for the AGM1264K-FL LCD display (two Samsung KS0108 compatible chips)

config FB_TFT_BD663474
tristate "FB driver for the BD663474 LCD Controller"
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/fwserial/dma_fifo.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void dma_fifo_init(struct dma_fifo *fifo)
* @size: 'apparent' size, in bytes, of fifo
* @align: dma alignment to maintain (should be at least cpu cache alignment),
* must be power of 2
* @tx_limit: maximum # of bytes transmissable per dma (rounded down to
* @tx_limit: maximum # of bytes transmissible per dma (rounded down to
* multiple of alignment, but at least align size)
* @open_limit: maximum # of outstanding dma transactions allowed
* @gfp_mask: get_free_pages mask, passed to kmalloc()
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/fwserial/fwserial.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ struct fwconsole_ops {
* prevented with the IN_TX flag. Scheduled under lock to
* limit scheduling when fifo has just been drained.
* @tx_fifo: fifo used to store & block-up writes for dma to remote
* @max_payload: max bytes transmissable per dma (based on peer's max_payload)
* @max_payload: max bytes transmissible per dma (based on peer's max_payload)
* @status_mask: UART_LSR_* bitmask significant to rx (based on termios)
* @ignore_mask: UART_LSR_* bitmask of states to ignore (also based on termios)
* @break_ctl: if set, port is 'sending break' to remote
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/Documentation/device.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Then fill in the following:
* info->write_event_value:
Write the value associated with on sensor event detectors. E.g.
a threshold above which an interrupt occurs. Note that the
meaning of the value to be set is event type dependant.
meaning of the value to be set is event type dependent.

- indio_dev->modes:
Specify whether direct access and / or ring buffer access is supported.
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/iio_simple_dummy.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct iio_dummy_regs;
* @accel_calibscale: cache for acceleration calibscale
* @lock: lock to ensure state is consistent
* @event_irq: irq number for event line (faked)
* @event_val: cache for event theshold value
* @event_val: cache for event threshold value
* @event_en: cache of whether event is enabled
*/
struct iio_dummy_state {
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/lustre/TODO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
* Possible remaining coding style fix.
* Remove deadcode.
* Seperate client/server functionality. Functions only used by server can be
* Separate client/server functionality. Functions only used by server can be
removed from client.
* Clean up libcfs layer. Ideally we can remove include/linux/libcfs entirely.
* Clean up CLIO layer. Lustre client readahead/writeback control needs to better
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/media/bcm2048/radio-bcm2048.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
#define BCM2048_FREQ_ERROR_FLOOR -20
#define BCM2048_FREQ_ERROR_ROOF 20

/* -60 dB is reported as full signal strenght */
/* -60 dB is reported as full signal strength */
#define BCM2048_RSSI_LEVEL_BASE -60
#define BCM2048_RSSI_LEVEL_ROOF -100
#define BCM2048_RSSI_LEVEL_ROOF_NEG 100
Expand Down Expand Up @@ -2468,7 +2468,7 @@ static int bcm2048_vidioc_g_tuner(struct file *file, void *priv,
} else {
/*
* RSSI level -60 dB is defined to report full
* signal strenght
* signal strength
*/
rssi = bcm2048_get_fm_rssi(bdev);
if (rssi >= BCM2048_RSSI_LEVEL_BASE) {
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/octeon-usb/octeon-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@ static int cvmx_usb_fill_tx_hw(struct cvmx_usb_state *usb,
usb->index) ^ 4;
int words = available;

/* Limit the amount of data to waht the SW fifo has */
/* Limit the amount of data to what the SW fifo has */
if (fifo->entry[i].size <= available) {
words = fifo->entry[i].size;
fifo->tail++;
Expand Down Expand Up @@ -1849,7 +1849,7 @@ static void cvmx_usb_start_channel(struct cvmx_usb_state *usb, int channel,
transaction->xfersize = usbc_hctsiz.s.xfersize;
transaction->pktcnt = usbc_hctsiz.s.pktcnt;
}
/* Remeber when we start a split transaction */
/* Remember when we start a split transaction */
if (cvmx_usb_pipe_needs_split(usb, pipe))
usb->active_split = transaction;
USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index),
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/octeon-usb/octeon-hcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ union cvmx_usbnx_usbp_ctl_status {
* struct cvmx_usbnx_usbp_ctl_status_s
* @txrisetune: HS Transmitter Rise/Fall Time Adjustment
* @txvreftune: HS DC Voltage Level Adjustment
* @txfslstune: FS/LS Source Impedence Adjustment
* @txfslstune: FS/LS Source Impedance Adjustment
* @txhsxvtune: Transmitter High-Speed Crossover Adjustment
* @sqrxtune: Squelch Threshold Adjustment
* @compdistune: Disconnect Threshold Adjustment
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/rtl8188eu/include/rtl8188e_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ struct txpowerinfo24g {
/* | 1byte|----8bytes----|1byte|--5bytes--| */
/* | | Reserved(14bytes) | */

/* PG data exclude header, dummy 6 bytes frome CP test and reserved 1byte. */
/* PG data exclude header, dummy 6 bytes from CP test and reserved 1byte. */
#define EFUSE_OOB_PROTECT_BYTES 15

#define HWSET_MAX_SIZE_88E 512
Expand All @@ -177,7 +177,7 @@ struct txpowerinfo24g {
/* 9bytes + 1byt + 5bytes and pre 1byte. */
/* For worst case: */
/* | 2byte|----8bytes----|1byte|--7bytes--| 92D */
/* PG data exclude header, dummy 7 bytes frome CP test and reserved 1byte. */
/* PG data exclude header, dummy 7 bytes from CP test and reserved 1byte. */
#define EFUSE_OOB_PROTECT_BYTES_88E 18
#define EFUSE_PROTECT_BYTES_BANK_88E 16

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192u/r8192U_dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static void dm_ctstoself(struct net_device *dev);
* Prepare SW resource for HW dynamic mechanism.
*
* Assumption:
* This function is only invoked at driver intialization once.
* This function is only invoked at driver initialization once.
*/
void init_hal_dm(struct net_device *dev)
{
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8712/rtl8712_xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ u8 r8712_append_mpdu_unit(struct xmit_buf *pxmitbuf,
u8 r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf,
struct xmit_frame *pxmitframe)
{
/* linux complete context doesnt need to protect */
/* linux complete context doesn't need to protect */
pxmitframe->pxmitbuf = pxmitbuf;
pxmitbuf->priv_data = pxmitframe;
pxmitframe->pxmit_urb[0] = pxmitbuf->pxmit_urb[0];
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8712/rtl871x_mp_phy_regdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@
#define bCCKRxIG 0x7f00
#define bCCKLNAPolarity 0x800000
#define bCCKRx1stGain 0x7f0000
#define bCCKRFExtend 0x20000000 /* CCK Rx inital gain polarity */
#define bCCKRFExtend 0x20000000 /* CCK Rx initial gain polarity */
#define bCCKRxAGCSatLevel 0x1f000000
#define bCCKRxAGCSatCount 0xe0
#define bCCKRxRFSettle 0x1f /* AGCsamp_dly */
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723au/hal/HalPwrSeqCmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ u8 HalPwrSeqCmdParsing23a(struct rtw_adapter *padapter, u8 CutVersion,
value |= (GET_PWR_CFG_VALUE(PwrCfgCmd) &
GET_PWR_CFG_MASK(PwrCfgCmd));

/* Write the value back to sytem register */
/* Write the value back to system register */
rtl8723au_write8(padapter, offset, value);
break;

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723au/hal/odm.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static u32 EDCAParam[HT_IOT_PEER_MAX][3] = { /* UL DL */
{0x5ea42b, 0xa630, 0x5e431c}, /* 11:airgocap AP */
};

/* EDCA Paramter for AP/ADSL by Mingzhi 2011-11-22 */
/* EDCA Parameter for AP/ADSL by Mingzhi 2011-11-22 */

/* Global var */
u32 OFDMSwingTable23A[OFDM_TABLE_SIZE_92D] = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ static void _DisableAnalog(struct rtw_adapter *padapter, bool bWithoutHWSM)
/* value16 |= (APDM_HOST | FSM_HSUS |/PFM_ALDN); */
/* 2010/08/31 According to Filen description, we need to
use HW to shut down 8051 automatically. */
/* Becasue suspend operatione need the asistance of 8051
/* Because suspend operation need the asistance of 8051
to wait for 3ms. */
value16 = APDM_HOST | AFSM_HSUS | PFM_ALDN;
} else {
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ phy_BB8723a_Config_ParaFile(struct rtw_adapter *Adapter)

/* */
/* 1. Read PHY_REG.TXT BB INIT!! */
/* We will seperate as 88C / 92C according to chip version */
/* We will separate as 88C / 92C according to chip version */
/* */
ODM_ReadAndConfig_PHY_REG_1T_8723A(&pHalData->odmpriv);

Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/rtl8723au/hal/rtl8723a_rf6052.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ void rtl823a_phy_rf6052setccktxpower(struct rtw_adapter *Adapter,
/* Currently, we cannot fully disable driver dynamic tx power
* mechanism because it is referenced by BT coexist mechanism. */
/* In the future, two mechanism shall be separated from each other
* and maintained independantly. Thanks for Lanhsin's reminder. */
* and maintained independently. Thanks for Lanhsin's reminder. */
if (pdmpriv->DynamicTxHighPowerLvl == TxHighPwrLevel_Level1) {
TxAGC[RF_PATH_A] = 0x10101010;
TxAGC[RF_PATH_B] = 0x10101010;
Expand Down Expand Up @@ -300,7 +300,7 @@ getTxPowerWriteValByRegulatory(struct rtw_adapter *Adapter, u8 Channel,
/* Currently, we cannot fully disable driver dynamic tx power mechanism
because it is referenced by BT coexist mechanism. */
/* In the future, two mechanism shall be separated from each other and
maintained independantly. Thanks for Lanhsin's reminder. */
maintained independently. Thanks for Lanhsin's reminder. */

if (pdmpriv->DynamicTxHighPowerLvl == TxHighPwrLevel_Level1)
writeVal = 0x14141414;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723au/hal/rtl8723au_xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz)
}

/* (1) The sequence number of each non-Qos frame / broadcast / multicast / */
/* mgnt frame should be controled by Hw because Fw will also send null data */
/* mgnt frame should be controlled by Hw because Fw will also send null data */
/* which we cannot control when Fw LPS enable. */
/* --> default enable non-Qos data sequense number. 2010.06.23. by tynli. */
/* (2) Enable HW SEQ control for beacon packet, because we use Hw beacon. */
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723au/hal/usb_halinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ static void _InitWMACSetting(struct rtw_adapter *Adapter)
/* 2010.09.08 hpfan */
/* Since ADF is removed from RCR, ps-poll will not be indicate
to driver, */
/* RxFilterMap should mask ps-poll to gurantee AP mode can
/* RxFilterMap should mask ps-poll to guarantee AP mode can
rx ps-poll. */
/* value16 = 0x400; */
/* rtl8723au_write16(Adapter, REG_RXFLTMAP1, value16); */
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723au/include/odm_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/* Define the debug levels */
/* */
/* 1. DBG_TRACE and DBG_LOUD are used for normal cases. */
/* So that, they can help SW engineer to develope or trace states changed */
/* So that, they can help SW engineer to develop or trace states changed */
/* and also help HW enginner to trace every operation to and from HW, */
/* e.g IO, Tx, Rx. */
/* */
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723au/include/rtl8723a_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ enum ChannelPlan
/* | | Reserved(14bytes) | */
/* */

/* PG data exclude header, dummy 6 bytes frome CP test and reserved 1byte. */
/* PG data exclude header, dummy 6 bytes from CP test and reserved 1byte. */
#define EFUSE_OOB_PROTECT_BYTES 15

#define EFUSE_REAL_CONTENT_LEN_8723A 512
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723au/include/rtw_cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ struct TDLSoption_param {
Result:
0x00: success
0x01: sucess, and check Response.
0x01: success, and check Response.
0x02: cmd ignored due to duplicated sequcne number
0x03: cmd dropped due to invalid cmd code
0x04: reserved.
Expand Down
10 changes: 5 additions & 5 deletions drivers/staging/rtl8723au/include/rtw_mlme.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@
#define WIFI_SITE_MONITOR 0x00000800

#define WIFI_MP_STATE 0x00010000
#define WIFI_MP_CTX_BACKGROUND 0x00020000 /* in continous tx background */
#define WIFI_MP_CTX_ST 0x00040000 /* in continous tx with single-tone */
#define WIFI_MP_CTX_BACKGROUND_PENDING 0x00080000 /* pending in continous tx background due to out of skb */
#define WIFI_MP_CTX_CCK_HW 0x00100000 /* in continous tx */
#define WIFI_MP_CTX_CCK_CS 0x00200000 /* in continous tx with carrier suppression */
#define WIFI_MP_CTX_BACKGROUND 0x00020000 /* in continuous tx background */
#define WIFI_MP_CTX_ST 0x00040000 /* in continuous tx with single-tone */
#define WIFI_MP_CTX_BACKGROUND_PENDING 0x00080000 /* pending in continuous tx background due to out of skb */
#define WIFI_MP_CTX_CCK_HW 0x00100000 /* in continuous tx */
#define WIFI_MP_CTX_CCK_CS 0x00200000 /* in continuous tx with carrier suppression */
#define WIFI_MP_LPBK_STATE 0x00400000

#define _FW_UNDER_LINKING WIFI_UNDER_LINKING
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723au/include/rtw_mlme_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ extern unsigned char WMM_PARA_OUI23A[];
/* Note: */
/* We just add new channel plan when the new channel plan is different from any of the following */
/* channel plan. */
/* If you just wnat to customize the acitions(scan period or join actions) about one of the channel plan, */
/* If you just want to customize the actions(scan period or join actions) about one of the channel plan, */
/* customize them in struct rt_channel_info in the RT_CHANNEL_LIST. */
/* */
enum { /* _RT_CHANNEL_DOMAIN */
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723au/include/sta_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ struct sta_priv {
*/
struct sta_info *sta_aid[NUM_STA];

u16 sta_dz_bitmap;/* only support 15 stations, staion aid bitmap
u16 sta_dz_bitmap;/* only support 15 stations, station aid bitmap
* for sleeping sta. */
u16 tim_bitmap;/* only support 15 stations,
* aid=0~15 mapping bit0~bit15 */
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/sm750fb/ddk750_help.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#warning "big endian on target cpu and enable nature big endian support of 718 capability !"
#define PEEK32(addr) __raw_readl(mmio750 + addr)
#define POKE32(addr,data) __raw_writel(data, mmio750 + addr)
#else /* software control endianess */
#else /* software control endianness */
#define PEEK32(addr) readl(addr + mmio750)
#define POKE32(addr,data) writel(data, addr + mmio750)
#endif
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/sm750fb/ddk750_mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ static int programModeRegisters(mode_parameter_t * pModeParam,pll_value_t * pll)

/* May a hardware bug or just my test chip (not confirmed).
* PANEL_DISPLAY_CTRL register seems requiring few writes
* before a value can be succesfully written in.
* before a value can be successfully written in.
* Added some masks to mask out the reserved bits.
* Note: This problem happens by design. The hardware will wait for the
* next vertical sync to turn on/off the plane.
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/sm750fb/ddk750_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -1885,10 +1885,10 @@
#define DISPLAY_CONTROL_750LE 0x80288
/* Palette RAM */

/* Panel Pallete register starts at 0x080400 ~ 0x0807FC */
/* Panel Palette register starts at 0x080400 ~ 0x0807FC */
#define PANEL_PALETTE_RAM 0x080400

/* Panel Pallete register starts at 0x080C00 ~ 0x080FFC */
/* Panel Palette register starts at 0x080C00 ~ 0x080FFC */
#define CRT_PALETTE_RAM 0x080C00

/* 2D registers
Expand Down
Loading

0 comments on commit 69e98df

Please sign in to comment.