Commit 00910f3c authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Greg Kroah-Hartman
Browse files

soundwire: mipi_disco: fix boolean comparisons



No need for explicit test against true

Reviewed-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 31dba312
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,