Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82a62032 authored by Arjun Singh's avatar Arjun Singh
Browse files

soc: qcom: bgcom: increase retries as BG may take ~600us to wake-up



Increases no of retries to get BG  status  as it can take upto
600us to wake up after sleep.

Change-Id: Id92d41a13a1ca25020bf74e187f9a47fa2dd9d07
Signed-off-by: default avatarArjun Singh <arsingh@codeaurora.org>
parent 3361d42b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@
#define HED_EVENT_SIZE_LEN (0x02)
#define HED_EVENT_DATA_STRT_LEN (0x05)

#define MAX_RETRY 20
#define MAX_RETRY 200

enum bgcom_state {
	/*BGCOM Staus ready*/
@@ -962,6 +962,8 @@ static int bg_spi_probe(struct spi_device *spi)

	if (ret)
		goto err_ret;

	pr_info("Bgcom Probed successfully\n");
	return ret;

err_ret: