[WCNCR00144638] sdio: modify driver get own flow

[Description]
Refactor halSetDriverOwn() api.
Origin:
  Driver programs CLR_LP_OWN regsiter again if polling own fails.
New:
  Driver only programs CLR_LP_OWN once and polling until timeout.
  In normal case, the first time request should be successful.
  If driver tries lots of times then gets the own,
  it implies something wrong in firmware.

Change-Id: I299f2758404a5ff0fb6fc9531ace061ad3f4d3ce
Feature: sdio
Signed-off-by: Chiahsuan Chuang <chiahsuan.chuang@mediatek.com>
CR-Id: WCNCR00144638
1 file changed