mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
soundwire: mipi_disco: fix boolean comparisons
No need for explicit test against true Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
31dba31297
commit
00910f3cb0
@ -49,11 +49,11 @@ int sdw_master_read_prop(struct sdw_bus *bus)
|
||||
}
|
||||
|
||||
if (fwnode_property_read_bool(link,
|
||||
"mipi-sdw-clock-stop-mode0-supported") == true)
|
||||
"mipi-sdw-clock-stop-mode0-supported"))
|
||||
prop->clk_stop_mode = SDW_CLK_STOP_MODE0;
|
||||
|
||||
if (fwnode_property_read_bool(link,
|
||||
"mipi-sdw-clock-stop-mode1-supported") == true)
|
||||
"mipi-sdw-clock-stop-mode1-supported"))
|
||||
prop->clk_stop_mode |= SDW_CLK_STOP_MODE1;
|
||||
|
||||
fwnode_property_read_u32(link,
|
||||
|
Loading…
Reference in New Issue
Block a user