Weather Cape and tsl2550 patch

Hi Robert,

I recently got the Weather Cape (rev b) and noticed an issue with the
tsl2550 light sensor in low light. It turns out Matt Ranostay posted
a patch to LKML back in 2013 that fixes the issue:

[PATCH] tsl2550: fix lux1_input error in low light
https://lkml.org/lkml/2013/6/14/16

However, it doesn't seem that patch was ever picked up. I've applied
the patch to 4.4.35-ti-r70 and tested OK. The patch also applies OK
to mainline (4.9-rc7). More details in this gist (also attached):
https://gist.github.com/pdp7/4c91813a9ca79aba200d20884a0a0d63

Could you add the attached patch to ti-linux-kernel-dev?

thanks,
drew

0001-tsl2550-fix-lux1_input-error-in-low-light.patch (1.13 KB)

tsl2550-patch-beaglebone-weather-cape.md (2.83 KB)

Don't you want to submit this upstream?

Yeah, that makes sense to resubmit but I wanted to check with Matt first.

Thanks Drew!

I've added it to the patch queue.

https://github.com/RobertCNelson/linux-dev/commit/81d77008e5c16545a8a819e0df1a50e4bc5a192a

Regards,

Thanks!

Matt has told me he'll submit to upstream again.