NFC_NCIHALx_AR2000.09.00.11_OpnSrc

This commit is contained in:
nxf35421
2018-10-22 19:15:16 +05:30
förälder 4c9c334d17
incheckning eefe925448

Visa fil

@@ -569,7 +569,12 @@ long pn544_dev_ioctl(struct file *filp, unsigned int cmd,
gpio_set_value(pn544_dev->ven_gpio, 1);
msleep(10);
pr_info("%s VEN reset DONE >>>>>>>\n", __func__);
} else {
} else if (arg == 6) {
if (pn544_dev->firm_gpio) {
gpio_set_value(pn544_dev->firm_gpio, 0);
}
pr_info("%s FW GPIO set to 0x00 >>>>>>>\n", __func__);
}else {
pr_err("%s bad arg %lu\n", __func__, arg);
/* changed the p61 state to idle*/
p61_access_unlock(pn544_dev);