Skip to content

Commit

Permalink
ASoC: SOF: remove boolean use in structures
Browse files Browse the repository at this point in the history
Make checkpatch happy

https://lkml.org/lkml/2017/11/21/384

Signed-off-by: Pierre-Louis Bossart <[email protected]>
  • Loading branch information
plbossart committed Nov 14, 2018
1 parent 8deecf6 commit 326e446
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sound/soc/sof/intel/hda.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ struct sof_intel_hda_dev {
struct hdac_ext_stream *dtrace_stream;

/* if position update IPC needed */
bool no_ipc_position;
u32 no_ipc_position;

int irq;

Expand Down
2 changes: 1 addition & 1 deletion sound/soc/sof/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ struct snd_sof_ipc {
/* TX message work and status */
wait_queue_head_t wait_txq;
struct work_struct tx_kwork;
bool msg_pending;
u32 msg_pending;

/* Rx Message work and status */
struct work_struct rx_kwork;
Expand Down
10 changes: 5 additions & 5 deletions sound/soc/sof/sof-priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ struct snd_sof_dev {

/* DSP firmware boot */
wait_queue_head_t boot_wait;
bool boot_complete;
u32 boot_complete;

/* DSP HW differentiation */
struct snd_sof_pdata *pdata;
Expand Down Expand Up @@ -377,12 +377,12 @@ struct snd_sof_dev {
int dma_trace_pages;
wait_queue_head_t trace_sleep;
u32 host_offset;
bool dtrace_is_enabled;
bool dtrace_error;
u32 dtrace_is_enabled;
u32 dtrace_error;

/* PM */
bool restore_kcontrols; /* restore kcontrols upon resume */
bool first_boot;
u32 restore_kcontrols; /* restore kcontrols upon resume */
u32 first_boot;

void *private; /* core does not touch this */
};
Expand Down

0 comments on commit 326e446

Please sign in to comment.