Commit 456ae7eb authored by Kelley Nielsen's avatar Kelley Nielsen Committed by Greg Kroah-Hartman
Browse files

staging: ft1000: change write_block_fifo() header to /* */ style in ft1000_download.c



As per coding style, C99 comments are not allowed
removed some redundant information and empty space
Left the parameter descriptions because the
parameter list is long and cryptic looking

Signed-off-by: default avatarKelley Nielsen <kelleynnn@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 69f7be1f
Loading
Loading
Loading
Loading
+6 −17
Original line number Original line Diff line number Diff line
@@ -517,23 +517,12 @@ static void usb_dnld_complete (struct urb *urb)
    //DEBUG("****** usb_dnld_complete\n");
    //DEBUG("****** usb_dnld_complete\n");
}
}


//---------------------------------------------------------------------------
/* writes a block of DSP image to DPRAM
// Function:    write_blk_fifo
 * Parameters:  struct ft1000_usb  - device structure
//
 *              u16 **pUsFile - DSP image file pointer in u16
// Parameters:  struct ft1000_usb  - device structure
 *              u8  **pUcFile - DSP image file pointer in u8
//              u16 **pUsFile - DSP image file pointer in u16
 *              long word_length - length of the buffer to be written to DPRAM
//              u8  **pUcFile - DSP image file pointer in u8
 */
//              long   word_length - length of the buffer to be written
//                                   to DPRAM
//
// Returns:     STATUS_SUCCESS - success
//              STATUS_FAILURE - failure
//
// Description: This function writes a block of DSP image to DPRAM
//
// Notes:
//
//---------------------------------------------------------------------------
static u32 write_blk_fifo(struct ft1000_usb *ft1000dev, u16 **pUsFile,
static u32 write_blk_fifo(struct ft1000_usb *ft1000dev, u16 **pUsFile,
			  u8 **pUcFile, long word_length)
			  u8 **pUcFile, long word_length)
{
{