Merge support for inverted lid switch
Letux added a patch to support the inverted lid switch. We need to add this patch as well.