i2c: img-scb: use line_status instead of i2c->line_status
i2c: img-scb: use line_status instead of i2c->line_status

i2c->line_status accumulates the line status bits that have been seen
with each interrupt. As we're only interested in that bit from the
current interrupt, refer to line_status (the argument to img_i2c_auto)
instead of i2c->line_status.

Signed-off-by: Sifan Naeem <a4a57e4704114c949e291df12162e43868e17cb4@imgtec.com>
Reviewed-by: James Hartley <9656dd1efcf43da7ee9c9a45b212b02529f17710@imgtec.com>
Acked-by: James Hogan <547fa85bb3888a0222eed8ec39e36708605c6d53@imgtec.com>
Signed-off-by: Wolfram Sang <fd4ce474653598159cad06f3c83387a05cd53a44@the-dreams.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs