freebsd-dev/sys/dev/mmc
Priit Trees cfae21201a mmc-fdt: fix mmc_fdt_gpio_get_{present,readonly}
Currently, mmc_fdt_gpio_get_{present,readonly} return all time true.
	true   ^ 100b = true
	false  ^ 100b = true
since that's done after promotion to integers. Use !! to convert
the bit to a bool before xor.

Reviewed by:	imp@ (converted to (bool) to !! for portability)
Pull Request:	https://github.com/freebsd/freebsd-src/pull/461
2021-06-02 21:58:30 -06:00
..
host dwmmc: Add bus_generic_add_child in the methods 2021-05-21 17:40:14 +02:00
bridge.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmc_fdt_helpers.c mmc-fdt: fix mmc_fdt_gpio_get_{present,readonly} 2021-06-02 21:58:30 -06:00
mmc_fdt_helpers.h mmc_fdt_helper: Add mmc_fdt_set_power 2021-05-21 17:38:05 +02:00
mmc_ioctl.h
mmc_private.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmc_pwrseq_if.m mmc: Add mmc-pwrseq driver 2021-05-21 17:36:20 +02:00
mmc_pwrseq.c mmc: Add mmc-pwrseq driver 2021-05-21 17:36:20 +02:00
mmc_subr.c mmc: ignore CRC errors from CMD13 (status) when changing rates 2021-06-02 19:46:23 -06:00
mmc_subr.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmc.c mmc: clean up empty lines in .c and .h files 2020-09-01 22:07:26 +00:00
mmcbr_if.m Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcbrvar.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcbus_if.m Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcreg.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcsd.c mmcsd(4): properly set BIO error when partition switching fails 2021-01-22 00:18:40 +01:00
mmcvar.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00